Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterInput ¶
func RegisterInput(name string, inFactory InputFactory)
func RegisterOutput ¶
func RegisterOutput(name string, outFactory OutputFactory)
Types ¶
type BoltConn ¶
type BoltConn interface { Connect() Context() *messages.Context Log(msg string) ReadBoltMsg(meta *messages.BoltMsgMeta, contentStructs ...interface{}) (err error) SendAck(id string) SendFail(id string) SendSync() Emit(anchors []string, stream string, content ...interface{}) (taskIds []int32) EmitDirect(anchors []string, stream string, directTask int64, contents ...interface{}) }
BoltConn is the interface that implements the possible bolt actions
func LookupBoltConn ¶
type Input ¶
type Input interface { ReadMsg(msg interface{}) (err error) ReadTaskIds() (taskIds []int32) ReadBoltMsg(meta *messages.BoltMsgMeta, contentStructs ...interface{}) (err error) }
type InputFactory ¶
type Output ¶
type OutputFactory ¶
type SpoutConn ¶
type SpoutConn interface { Connect() Context() *messages.Context Log(msg string) ReadSpoutMsg() (command, id string, err error) SendSync() Emit(id string, stream string, contents ...interface{}) (taskIds []int32) EmitDirect(id string, stream string, directTask int64, contents ...interface{}) }
SpoutConn is the interface that implements the possible spout actions
func LookupSpoutConn ¶
Click to show internal directories.
Click to hide internal directories.