Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Headers ¶
type Headers struct { Header http.Header Username string // Username or blank. for basic authN Password string // Password or blank. for basic authN }
Headers is configuration parameters for the http header
type Parameters ¶
Parameters is the configuration parameters for the hfwd proxy server
func (*Parameters) Setup ¶ added in v0.1.2
func (p *Parameters) Setup() error
Setup configuration given parameters
func (*Parameters) String ¶ added in v0.1.2
func (p *Parameters) String() string
String returns string representation of this configuration. useful for debugging.
type PathRewriter ¶ added in v0.1.2
PathRewriter is an interface to path rewrite
type TLSClient ¶
type TLSClient struct { CACertPath string PKCS12Path string PKCS12Password string // contains filtered or unexported fields }
TLSClient is configuration parameters for the tls client certification
func (*TLSClient) String ¶ added in v0.1.2
String returns string representation of this configuration. useful for debugging.
func (*TLSClient) TLSClientConfig ¶
TLSClientConfig returns *tls.Config for the tls client certification
type URL ¶
type URL struct { RewritePaths map[string]string // map[oldPath]newPath // contains filtered or unexported fields }
URL is configuration parameters for the destination
func (*URL) PathRewriters ¶
func (u *URL) PathRewriters() []PathRewriter
PathRewriters returns path rewriters
Click to show internal directories.
Click to hide internal directories.