Documentation ¶
Index ¶
- type ExecBrowser
- type Middleware
- func (Middleware) CaddyModule() caddy.ModuleInfo
- func (m *Middleware) Cleanup() error
- func (m *Middleware) Provision(ctx caddy.Context) (err error)
- func (m *Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (m *Middleware) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
- type RemoteBrowser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecBrowser ¶
type Middleware ¶
type Middleware struct { Timeout string `json:"timeout,omitempty"` MIMETypes []string `json:"mime_types,omitempty"` ExecBrowser *ExecBrowser `json:"exec_browser,omitempty"` RemoteBrowser *RemoteBrowser `json:"remote_browser,omitempty"` FulfillHosts []string `json:"fulfill_hosts,omitempty"` ContinueHosts []string `json:"continue_hosts,omitempty"` Links bool `json:"links,omitempty"` // contains filtered or unexported fields }
func (Middleware) CaddyModule ¶
func (Middleware) CaddyModule() caddy.ModuleInfo
func (*Middleware) Cleanup ¶
func (m *Middleware) Cleanup() error
func (*Middleware) Provision ¶
func (m *Middleware) Provision(ctx caddy.Context) (err error)
func (*Middleware) ServeHTTP ¶
func (m *Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
func (*Middleware) UnmarshalCaddyfile ¶
func (m *Middleware) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
type RemoteBrowser ¶
type RemoteBrowser struct {
URL string `json:"url,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.