Documentation ¶
Index ¶
- type BlockEvent
- type Connector
- type Engine
- func (engine *Engine) Init()
- func (engine *Engine) ListenProcess(number *big.Int)
- func (engine *Engine) SetConnector(connector Connector)
- func (engine *Engine) SetEnd(val string)
- func (engine *Engine) SetProcessor(processor Processor)
- func (engine *Engine) SetStart(val string, plusOne bool)
- func (engine *Engine) Start() *big.Int
- func (engine *Engine) Status() map[string]interface{}
- type Processor
- type RawEngine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockEvent ¶
type Engine ¶
type Engine struct { Queue chan BlockEvent Connector Connector Processor Processor RawEngine // contains filtered or unexported fields }
func (*Engine) ListenProcess ¶
func (*Engine) SetConnector ¶
func (*Engine) SetProcessor ¶
type Processor ¶
type Processor interface { NewBlockEvent(*big.Int, string, string) BlockEvent Process(interface{}, BlockEvent, bool) }
Click to show internal directories.
Click to hide internal directories.