//
pkg.gl
Category
github.com/luids-io/core
ipfilter
package
0.0.0-20201201052906-a54a33a9bc9d
Repository:
https://github.com/luids-io/core.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
2
Files
163 SLOC
#
Functions
Blacklist
Blacklist creates a filter with the list of ips and/or cidrs passed.
Whitelist
Whitelist creates a filter with the list of ips and/or cidrs passed.
#
Constants
Accept
Values for Action.
Deny
Values for Action.
#
Structs
Filter
Filter is the main structure.
#
Type aliases
Action
Action to be taken with the request.