package
Version:
v0.8.5
Opens a new window with list of versions in this module.
Published: Mar 28, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Validate checks if a list of IP strings are valid.
type Whitelist struct {
}
Whitelist holds the allowed IP addresses.
Initialize initializes a new Whitelist from IP strings.
Matches checks if the remote address is in the whitelist.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.