Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { // named parameters that are passed in via RESTful URL Parameters Params Params // named attributes that persist for the lifetime of the request Values Values // contains filtered or unexported fields }
Context stores data for the duration of the http.Request
type Params ¶
Params maps a string key to a list of values.
type Values ¶
type Values map[interface{}]interface{}
Values maps a string key to a list of values.
func (Values) Del ¶
func (v Values) Del(key interface{})
Del deletes the values associated with key.
func (Values) Get ¶
func (v Values) Get(key interface{}) interface{}
Get gets the value associated with the given key. If there are no values associated with the key, Get returns nil.
Click to show internal directories.
Click to hide internal directories.