Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
Provider provider.Provider
Config ProxyConfig
}
Proxy represents the authproxy instance
func NewWithProvider ¶
func NewWithProvider(provider provider.Provider, cfg ProxyConfig) *Proxy
NewWithProvider returns a new proxy instance using a provider implementation as backend
func (*Proxy) ListenAndServe ¶
ListenAndServe starts the proxy
type ProxyConfig ¶
type ProxyConfig struct {
HTTPAddr string
HTTPPrivateAddr string
TLSCert string
TLSKey string
TLSClientCA string
LogJSON bool
LogLevel string
}
ProxyConfig represents a the proxy configuration parameters
func NewConfiguration ¶
func NewConfiguration() ProxyConfig
NewConfiguration returns a new default configuration
Click to show internal directories.
Click to hide internal directories.