Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTemplate = `` /* 142-byte string literal not displayed */
DefaultTemplate is the default HTML template used as a response.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct { Path string `json:"path"` Vcs string `json:"vcs,omitempty"` URI string `json:"uri"` // Template is the template used when returning a response (instead of redirecting). Template *template.Template }
Module represents the GoPkg Caddy module.
func (Module) CaddyModule ¶
func (m Module) CaddyModule() caddy.ModuleInfo
Click to show internal directories.
Click to hide internal directories.