Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCookie ¶
CheckCookie is a wrapper which adds a cookie value to context if one does not yet exist
Types ¶
type CookieKey ¶
type CookieKey int
CookieKey - iota enum of possible cookie keys
Possible values for cookie keys
func (CookieKey) ContextKey ¶
func (ck CookieKey) ContextKey() interface{}
ContextKey returns the context key corresponding to a cookie key
Click to show internal directories.
Click to hide internal directories.