Documentation
¶
Index ¶
Constants ¶
View Source
const (
// EpochTimer is a type for HandlerInfo structure.
EpochTimer = "EpochTimer"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewEpochTick ¶
type NewEpochTick struct{}
NewEpochTick is a new epoch local ticker event.
func (NewEpochTick) MorphEvent ¶
func (NewEpochTick) MorphEvent()
MorphEvent implements Event interface.
type Timers ¶
type Timers struct {
// contains filtered or unexported fields
}
Timers is a component for local inner ring timers to produce local events.
func (*Timers) RegisterHandler ¶
func (t *Timers) RegisterHandler(h event.HandlerInfo) error
RegisterHandler of local timers events.
func (*Timers) ResetEpochTimer ¶
func (t *Timers) ResetEpochTimer()
ResetEpochTimer to start it again when event has been processed.
Click to show internal directories.
Click to hide internal directories.