Documentation ¶
Index ¶
- type Event
- type Events
- func (e *Events) Append(evt *Event)
- func (e *Events) Close()
- func (e *Events) NextEventId() string
- func (e *Events) SetPrems(prems func(context.Context) *Event)
- func (e *Events) Since(since int) []*Event
- func (e *Events) Size() int
- func (e *Events) Subscribe(ctx context.Context) chan *Event
- func (e *Events) SubscribeSince(ctx context.Context, since int) chan *Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Events ¶
type Events struct {
// contains filtered or unexported fields
}
Events handles a flow of Event
func (*Events) NextEventId ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.