Versions in this module Expand all Collapse all v1 v1.7.28 Jan 13, 2021 Changes in this version + const XForwardedFor + type IP struct + func NewIP(whiteList []string, insecure bool, useXForwardedFor bool) (*IP, error) + func (ip *IP) ContainsIP(addr net.IP) bool + func (ip *IP) IsAuthorized(req *http.Request) error