Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker allows to check that addresses are in a trusted IPs. Check function copied from traefik codebase, thanks to them.
func NewChecker ¶
func (*Checker) IsAuthorized ¶
type IPAllowList ¶
type IPAllowList struct {
SourceRange []string `cfg:"source_range"`
}
func (*IPAllowList) Middleware ¶
Click to show internal directories.
Click to hide internal directories.