Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOperationID ¶
GetOperationID get operationID of the context
func OperationIDMiddleware ¶
OperationIDMiddleware Middleware wraps the given HTTP handler so that the details of the request are sent to the log.
Types ¶
type Logger ¶ added in v0.0.3
type OperationIDKey ¶
type OperationIDKey string
const OpIDHeader OperationIDKey = "X-Operation-ID"
const OpIDKey OperationIDKey = "opID"
Click to show internal directories.
Click to hide internal directories.