Documentation ¶
Index ¶
- type Values
- func (f Values) Add(key string, value string)
- func (f Values) Delete(key string)
- func (f Values) Get(key string) string
- func (f Values) Has(key ...string) bool
- func (f Values) IsEmpty(key ...string) bool
- func (f Values) IsInsertPost() bool
- func (f Values) IsSingleUpdatePost() bool
- func (f Values) IsUpdatePost() bool
- func (f Values) RemoveRemark() Values
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Values ¶
Values maps a string key to a list of values. It is typically used for query parameters and form values. Unlike in the http.Header map, the keys in a Values map are case-sensitive.
func (Values) Add ¶
Add adds the value to key. It appends to any existing values associated with key.
func (Values) Get ¶
Get gets the first value associated with the given key. If there are no values associated with the key, Get returns the empty string. To access multiple values, use the map directly.
func (Values) IsInsertPost ¶ added in v1.1.5
func (Values) IsSingleUpdatePost ¶ added in v1.1.5
func (Values) IsUpdatePost ¶ added in v1.1.5
func (Values) RemoveRemark ¶ added in v1.1.5
Click to show internal directories.
Click to hide internal directories.