package
2.0.5
Repository: https://github.com/9seconds/httransform.git
Documentation: pkg.go.dev

# Functions

NewBasicAuth returns an implementation of authenticator which does proxy authorization in a basic auth fashion.
NewIPWhitelist returns an implementation of authenicator which does auth based on a user IP address.

# Variables

ErrAuthRequired means that user gave no credentials.
ErrFailedAuth is returned if authorization is failed.

# Structs

NoopAuth is a dummy implementation which always welcomes everyone.

# Interfaces

Interface defines a set of methods which are mandatory for each authenicator to implement.