Documentation ¶
Index ¶
Constants ¶
View Source
const ( POINT_INPUT_CONFIG_PARSER = "input-config-parser" POINT_INPUT_HANDLER_FACTORY = "input-handler-factory" )
View Source
const ( INPUT_STATE_NOT_STARTED = iota INPUT_STATE_RUNNING INPUT_STATE_DONE INPUT_STATE_ERROR )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseHandler ¶
func (*BaseHandler) GetError ¶
func (b *BaseHandler) GetError() error
func (*BaseHandler) GetName ¶
func (b *BaseHandler) GetName() string
func (*BaseHandler) GetState ¶
func (b *BaseHandler) GetState() uint8
func (*BaseHandler) GetType ¶
func (b *BaseHandler) GetType() string
func (*BaseHandler) ReadInput ¶
func (b *BaseHandler) ReadInput(ch chan *entity.InputData)
type InputEntryParser ¶
type InputEntryParser interface { lib.ExtensionPoint CreateInputEntriesFromData(config *entity.Config, name string, data map[interface{}]interface{}) (entries []entity.InputEntry, err error) }
type InputHandler ¶
type InputHandlerFactory ¶
type InputHandlerFactory interface { lib.ExtensionPoint NewInputHandler(entity.InputEntry) InputHandler }
Click to show internal directories.
Click to hide internal directories.