Documentation ¶ Index ¶ func AllowedReadOnlyPath(rawPath string) bool func ReadyCheck(upstream *url.URL) func(context.Context) error type Proxy func New(upstream *url.URL) *Proxy func NewWithClient(upstream *url.URL, client *http.Client) *Proxy func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AllowedReadOnlyPath ¶ func AllowedReadOnlyPath(rawPath string) bool func ReadyCheck ¶ func ReadyCheck(upstream *url.URL) func(context.Context) error Types ¶ type Proxy ¶ type Proxy struct { // contains filtered or unexported fields } func New ¶ func New(upstream *url.URL) *Proxy func NewWithClient ¶ func NewWithClient(upstream *url.URL, client *http.Client) *Proxy func (*Proxy) ServeHTTP ¶ func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) Source Files ¶ View all Source files proxy.go Click to show internal directories. Click to hide internal directories.