Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Synchronizer ¶
Synchronizer controls logic hand off between services This system coordinates what services may run under what conditions The system operates as a scheduler as well as a reactor to external events
func (*Synchronizer) CloseChan ¶
func (s *Synchronizer) CloseChan() <-chan struct{}
func (*Synchronizer) GossipInLoop ¶
func (s *Synchronizer) GossipInLoop()
func (*Synchronizer) Init ¶
func (s *Synchronizer) Init(cdb *db.Database, mdb *badger.DB, tdb *badger.DB, gc *gossip.Client, gh *gossip.Handlers, ep *evidence.Pool, eng *lstate.Engine, app *application.Application, ah *admin.Handlers, pman *peering.PeerManager) error
Init initializes the struct
func (*Synchronizer) Safe ¶
func (s *Synchronizer) Safe() bool
func (*Synchronizer) Stop ¶
func (s *Synchronizer) Stop()
Stop terminates the Synchronizer and all managed services
Directories ¶
Path | Synopsis |
---|---|
Package mock_db is a generated GoMock package.
|
Package mock_db is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.