Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsEngine ¶
type ConsEngine struct {
M *MsgMapper
// contains filtered or unexported fields
}
ConsEngine Consensus engine
func (*ConsEngine) Add2Engine ¶
func (c *ConsEngine) Add2Engine(msg *nats.Msg) error
Add2Engine Add a message to consensus engine
func (*ConsEngine) SetSequence ¶
func (c *ConsEngine) SetSequence(s int64)
func (*ConsEngine) StartEngine ¶
func (c *ConsEngine) StartEngine(from, to string) error
Click to show internal directories.
Click to hide internal directories.