Documentation ¶
Index ¶
Constants ¶
View Source
const DirectiveName = "admin_ui"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaddyAdminUI ¶
type CaddyAdminUI struct { // The names of files to try as index files if a folder is requested. IndexNames []string `json:"index_names,omitempty"` // Append suffix to request filename if origin name is not exists. SuffixNames []string `json:"suffix_names,omitempty"` // contains filtered or unexported fields }
CaddyAdminUI implements a static file server responder for Caddy.
func (CaddyAdminUI) CaddyModule ¶
func (CaddyAdminUI) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*CaddyAdminUI) Provision ¶
func (adminUI *CaddyAdminUI) Provision(ctx caddy.Context) error
Provision sets up the static files responder.
func (*CaddyAdminUI) ServeHTTP ¶
func (adminUI *CaddyAdminUI) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
Click to show internal directories.
Click to hide internal directories.