Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericHandler ¶
type GenericHandler struct { Labels []ast.NameValue GenFunc func(cmd interface{}) ([]ast.Inst, error) FilterFieldsForKey func(interface{}) (interface{}, error) }
A GenericHandler is a configurable version of a Handler suitable for mixins
func (*GenericHandler) CanCompile ¶
func (a *GenericHandler) CanCompile(req ast.Request) bool
CanCompile implements a Device
Click to show internal directories.
Click to hide internal directories.