Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRequestID ¶
func GenerateRequestID() string
GenerateRequestID generates a new random-enough request id for a request context
func NewRequestContext ¶
NewRequestContext creates a new request context from context.Background()
func NewRequestContextFrom ¶
NewRequestContextFrom creates a new request context from an existing context regenerating a request_id value
Types ¶
type ContextKey ¶
type ContextKey string
ContextKey is a wrapper type for our keys attached to a context
Click to show internal directories.
Click to hide internal directories.