Documentation
¶
Overview ¶
Package ctxkey contains type and values of keys used to store information in context value storage, that holds data specific for single http request.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrValueNotFound = errors.New("ctxkey: value not found in ctx")
Functions ¶
Types ¶
type ContextKey ¶
type ContextKey uint
ContextKey represents keys used in context value store specific for single http request.
const ( // DebugKey represents key used to store // information about debug mode. DebugKey ContextKey = iota )
Click to show internal directories.
Click to hide internal directories.