Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg *config.Handler, l *types.Location, next types.RequestHandler) (types.RequestHandler, error)
New creates and returns a new RequestHandler identified by its module name. Identifier is the module's directory (hence its package name). Additionaly it receives handler specific config in the form of *json.RawMessage and types.Location representing the location the handler will be used for.
Types ¶
This section is empty.
Source Files
¶
- new.go
- types.go
Click to show internal directories.
Click to hide internal directories.