Documentation ¶
Index ¶
- type Handler
- func (Handler) CaddyModule() caddy.ModuleInfo
- func (m *Handler) Provision(ctx caddy.Context) (err error)
- func (m *Handler) ProxyConn(conn net.Conn, addr string) error
- func (m *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (m *Handler) ServeProxy(w http.ResponseWriter, r *http.Request) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Users []string // contains filtered or unexported fields }
Handler implements an HTTP handler that ...
func (Handler) CaddyModule ¶
func (Handler) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*Handler) ServeProxy ¶
Click to show internal directories.
Click to hide internal directories.