Discover Packages
github.com/clambin/traefik-simple-auth
pkg
whitelist
package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: May 5, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package whitelist maintains a list of whitelisted email addresses. It is used by traefik-simple-auth to validate that
requests for an authenticated user should be allowed.
type Whitelist map[string ]struct{}
New creates a new Whitelist for the provided email addresses.
Match returns true if the email address is on the whitelist, or if the whitelist is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.