package
0.0.0-20181221001610-b1c06887102b
Repository: https://github.com/decodeproject/iotcommon.git
Documentation: pkg.go.dev
# Functions
MetricsMiddleware returns a new middleware that can then be Used by goji, or any other standard http.Handler based server.
RequestIDMiddleware is a net.http middleware that adds a unique UUID request ID to requests.
# Constants
RequestCtxKey is a context containing the context key under which the request ID is stored.
RequestIDHeader is a constant containing the request header key.