Documentation ¶ Index ¶ type IP func (f IP) Allow(r *http.Request) bool type List func (f List) Allow(r *http.Request) bool type MatchFunc func (f MatchFunc) Allow(r *http.Request) bool type Pass func (f Pass) Allow(r *http.Request) bool type Wall func Negate(m Wall) Wall Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type IP ¶ type IP []string func (IP) Allow ¶ func (f IP) Allow(r *http.Request) bool type List ¶ type List []Wall func (List) Allow ¶ func (f List) Allow(r *http.Request) bool type MatchFunc ¶ type MatchFunc func(*http.Request) bool func (MatchFunc) Allow ¶ func (f MatchFunc) Allow(r *http.Request) bool type Pass ¶ type Pass struct{} func (Pass) Allow ¶ func (f Pass) Allow(r *http.Request) bool type Wall ¶ type Wall interface { Allow(*http.Request) bool } func Negate ¶ func Negate(m Wall) Wall Source Files ¶ View all Source files firewall.go Click to show internal directories. Click to hide internal directories.