Documentation
¶
Index ¶
- func BlockRoutine(bi BlockInterface)
- func ConnectionRoutine(c *Connection)
- type AddChanMsg
- type Block
- func (b *Block) Broadcast() chan interface{}
- func (b *Block) Build(c BlockChans)
- func (b *Block) CleanUp()
- func (b *Block) Error(msg interface{})
- func (b *Block) GetBlock() *Block
- func (b *Block) GetDef() *BlockDef
- func (b *Block) InRoute(routeName string) chan interface{}
- func (b *Block) Log(msg interface{})
- func (b *Block) QueryRoute(routeName string) chan chan interface{}
- func (b *Block) Quit() chan interface{}
- func (b *Block) SetId(Id string)
- type BlockChans
- type BlockDef
- type BlockInterface
- type Connection
- type LogStreams
- type Msg
- type QueryMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockRoutine ¶
func BlockRoutine(bi BlockInterface)
func ConnectionRoutine ¶
func ConnectionRoutine(c *Connection)
Types ¶
type AddChanMsg ¶
type Block ¶
type Block struct { Id string // the name of the block specifed by the user (like MyBlock) Kind string // the kind of block this is (like count, toFile, fromSQS) Desc string // the description of block ('counts the number of messages it has seen') BlockChans LogStreams // contains filtered or unexported fields }
func (*Block) Build ¶
func (b *Block) Build(c BlockChans)
func (*Block) QueryRoute ¶
type BlockChans ¶
type BlockInterface ¶
type Connection ¶
type Connection struct { Id string ToRoute string BlockChans LogStreams }
func (*Connection) Build ¶
func (c *Connection) Build(chans BlockChans)
func (*Connection) CleanUp ¶
func (c *Connection) CleanUp()
func (*Connection) SetId ¶
func (c *Connection) SetId(Id string)
type LogStreams ¶
type LogStreams struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.