# Functions
ContextWithRequestID checks if current context has request id already and assign one if none found.
No description provided by the author
No description provided by the author
ErrMetadata returns a metadata constructed from error.
No description provided by the author
GenRequestID returns a unique request id.
GetContextID returns a request id assigned inside a context.
No description provided by the author
Metadata returns a basic metadata added a more detail metadata.
No description provided by the author
NewContext returns a context with built-in request id.
No description provided by the author
No description provided by the author
SetRequestID returns a context with assigned request id.
SetRequestIDFromMetadata returns a context with request id and context id value if they exists in metadata.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
RequestID is a random generated string to identify each request.
# Variables
DefaultConfig is a configuration to create: - Non JSON structured.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
KV is wrapper for map[string]interface{}.