The highest tagged major version is
v2.
package
Version:
v1.6.4
Opens a new window with list of versions in this module.
Published: Jun 15, 2018
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
XForwardedFor = "X-Forwarded-For"
)
IP allows to check that addresses are in a white list
NewIP builds a new IP given a list of CIDR-Strings to white list
ContainsIP checks if provided address is in the white list
IsAuthorized checks if provided request is authorized by the white list
Source Files
¶
Click to show internal directories.
Click to hide internal directories.