Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHandlerAlreadyRegistered = errors.New("an Handler with this name is already Registered")
ErrHandlerAlreadyRegistered is an error when trying to add Handlers that already is Registered
View Source
var ErrHandlerNotRegistered = errors.New("the Handler asked for is not Registered")
ErrHandlerNotRegistered is an error that is thrown when trying to find an Handler that does not exist
View Source
var HandlerRegister map[string]func() handlers.Handler
HandlerRegister is used to keep track of all available Handlers that a processor can use To have a processor use a custom Handler It need to be Register with RegisterHandler
Functions ¶
func GetHandler ¶
GetHandler is used to extract a Registered Handler, should return a NEW Copy of an Handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.