Documentation
¶
Overview ¶
Package ipcheck provides a protocol-agnostic allow-list checker shared by the TCP and UDP ip_allow_list middlewares.
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 ¶
Click to show internal directories.
Click to hide internal directories.