Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultTag = "<default>"
View Source
const ( // EventPriorityDefault represents the default priority for an event if // none has been Set. EventPriorityDefault = iota )
Variables ¶
View Source
var ErrGeneratorFinished = errors.New("event generator is finished")
Functions ¶
This section is empty.
Types ¶
type Configs ¶
type Configs struct {
// contains filtered or unexported fields
}
func NewConfigs ¶
func NewConfigs() *Configs
func (*Configs) ExpectedGenerators ¶
type Event ¶
type Event struct { timestone.Action time.Time context.Context // contains filtered or unexported fields }
type OnceGenerator ¶
type OnceGenerator struct {
// contains filtered or unexported fields
}
func NewOnceGenerator ¶
func (*OnceGenerator) Finished ¶
func (o *OnceGenerator) Finished() bool
func (*OnceGenerator) Peek ¶
func (o *OnceGenerator) Peek() Event
func (*OnceGenerator) Pop ¶
func (o *OnceGenerator) Pop() *Event
type PeriodicGenerator ¶
type PeriodicGenerator struct {
// contains filtered or unexported fields
}
func NewPeriodicGenerator ¶
func (*PeriodicGenerator) Finished ¶
func (p *PeriodicGenerator) Finished() bool
func (*PeriodicGenerator) Peek ¶
func (p *PeriodicGenerator) Peek() Event
func (*PeriodicGenerator) Pop ¶
func (p *PeriodicGenerator) Pop() *Event
type Queue ¶
type Queue struct { NewGeneratorsWaitGroups *waitgroups.GeneratorWaitGroups // contains filtered or unexported fields }
func (*Queue) ExpectGenerators ¶
func (*Queue) WaitForExpectedGenerators ¶
Click to show internal directories.
Click to hide internal directories.