Versions in this module Expand all Collapse all v0 v0.1.2 Jan 28, 2021 Changes in this version type Option + func Default(h http.HandlerFunc) Option v0.1.1 Jan 27, 2021 Changes in this version + func BypassHandler(w http.ResponseWriter, r *http.Request) + type Option func(*Proxy) error + func CA(ca *tls.Certificate) Option + func Dir(dir string) Option + type Rules map[string]http.HandlerFunc v0.1.0 Dec 20, 2020 Changes in this version + type Options struct + CA *tls.Certificate + Dir string + Handle http.HandlerFunc + Lease time.Duration + type Proxy struct + func New(opt Options) (*Proxy, error) + func (p Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request)