Documentation
¶
Index ¶
- type FloatyItem
- type FloatyModule
- func (FloatyModule) CaddyModule() caddy.ModuleInfo
- func (module *FloatyModule) Provision(ctx caddy.Context) error
- func (module FloatyModule) ServeHTTP(writer http.ResponseWriter, request *http.Request, handler caddyHttp.Handler) error
- func (module *FloatyModule) UnmarshalCaddyfile(dispenser *caddyfile.Dispenser) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FloatyItem ¶
type FloatyItem struct { Length int `json:"length,omitempty"` Duration int64 `json:"duration,omitempty"` // contains filtered or unexported fields }
Initialize!
type FloatyModule ¶
type FloatyModule struct { Values map[string]*FloatyItem `json:"values,omitempty"` // contains filtered or unexported fields }
func (FloatyModule) CaddyModule ¶
func (FloatyModule) CaddyModule() caddy.ModuleInfo
Register the module
func (*FloatyModule) Provision ¶
func (module *FloatyModule) Provision(ctx caddy.Context) error
Provision!
func (FloatyModule) ServeHTTP ¶
func (module FloatyModule) ServeHTTP( writer http.ResponseWriter, request *http.Request, handler caddyHttp.Handler, ) error
Handle! Handle requests with placeholder replacements
func (*FloatyModule) UnmarshalCaddyfile ¶
func (module *FloatyModule) UnmarshalCaddyfile( dispenser *caddyfile.Dispenser, ) error
Parse the Caddyfile directives
Click to show internal directories.
Click to hide internal directories.