//
pkg.gl
Category
github.com/oidc-mytoken/server
internal
utils
iputils
package
0.9.2
Repository:
https://github.com/oidc-mytoken/server.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
2
Files
152 SLOC
#
Functions
IPIsIn
IPIsIn checks if an ip is in a slice of ip/hosts, it will also check ip subnets.
IPsAreSubSet
IPsAreSubSet checks if all ips of ipsA are contained in ipsB, it will also check ip subnets.