Documentation
¶
Index ¶
- func IsCookie(name string) bool
- func Key(name string) (string, error)
- func Present(src map[string][]string, name string) bool
- func Sensitive(name string) bool
- func Valid(name string) bool
- func Value(src map[string][]string, name string) string
- type CollisionError
- type Name
- type NameError
- type Named
- type Set
- type Values
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CollisionError ¶
CollisionError reports header names with the same case-insensitive identity.
func (*CollisionError) Error ¶
func (e *CollisionError) Error() string
type Name ¶
type Name struct {
// contains filtered or unexported fields
}
Name is a validated, case-insensitive HTTP field name. Its zero value is not a valid name.
type NameError ¶
type NameError struct {
Name string
}
NameError reports a string that is not an HTTP field name.
Click to show internal directories.
Click to hide internal directories.