Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RequestID is the unique ID for each http request RequestID = "request-id" // APIVersion is the client's requested API version APIVersion = "api-version" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
Context is just our own wrapper for the golang 'Context' - mainly so we can add our over version of the funcs.
func Background ¶
func Background() Context
Background creates a new Context based on golang's default one.
func WithValue ¶
WithValue will return a Context that has this new key/value pair associated with it. Just uses the golang version but then wraps it.
Click to show internal directories.
Click to hide internal directories.