Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSelfSignedCertificate ¶
func NewSelfSignedCertificate(hosts []string) (tls.Certificate, error)
Based on generate_cert: https://code.google.com/p/go/source/browse/src/pkg/crypto/tls/generate_cert.go
Types ¶
type ReverseProxy ¶
type ReverseProxy struct { *httputil.ReverseProxy OverrideHost string // contains filtered or unexported fields }
Wraps httputil.ReverseProxy to add additional configurable hacks
func NewSingleHostReverseProxy ¶
func NewSingleHostReverseProxy(target *url.URL) *ReverseProxy
Click to show internal directories.
Click to hide internal directories.