Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CIDR ¶
type CIDR struct {
Patterns []string
// contains filtered or unexported fields
}
CIDR matches http host with CIDR
func (CIDR) ServeHandler ¶
ServeHandler implements middleware interface
type Host ¶
type Host struct {
Hosts []string
// contains filtered or unexported fields
}
Host middleware
func (Host) ServeHandler ¶
ServeHandler implements middleware interface
Click to show internal directories.
Click to hide internal directories.