Documentation ¶
Index ¶
- type EventSystem
- func (m *EventSystem) AddEvent(event *si.EventRecord)
- func (m *EventSystem) CreateEventStream(_ string, _ uint64) *events.EventStream
- func (m *EventSystem) GetEventStreams() []events.EventStreamData
- func (m *EventSystem) GetEventsFromID(uint64, uint64) ([]*si.EventRecord, uint64, uint64)
- func (m *EventSystem) IsEventTrackingEnabled() bool
- func (m *EventSystem) RemoveStream(_ *events.EventStream)
- func (m *EventSystem) Reset()
- func (m *EventSystem) StartService()
- func (m *EventSystem) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventSystem ¶
type EventSystem struct { Events []*si.EventRecord // contains filtered or unexported fields }
func NewEventSystem ¶
func NewEventSystem() *EventSystem
func NewEventSystemDisabled ¶
func NewEventSystemDisabled() *EventSystem
func (*EventSystem) AddEvent ¶
func (m *EventSystem) AddEvent(event *si.EventRecord)
func (*EventSystem) CreateEventStream ¶
func (m *EventSystem) CreateEventStream(_ string, _ uint64) *events.EventStream
func (*EventSystem) GetEventStreams ¶
func (m *EventSystem) GetEventStreams() []events.EventStreamData
func (*EventSystem) GetEventsFromID ¶
func (m *EventSystem) GetEventsFromID(uint64, uint64) ([]*si.EventRecord, uint64, uint64)
func (*EventSystem) IsEventTrackingEnabled ¶
func (m *EventSystem) IsEventTrackingEnabled() bool
func (*EventSystem) RemoveStream ¶
func (m *EventSystem) RemoveStream(_ *events.EventStream)
func (*EventSystem) Reset ¶
func (m *EventSystem) Reset()
func (*EventSystem) StartService ¶
func (m *EventSystem) StartService()
func (*EventSystem) Stop ¶
func (m *EventSystem) Stop()
Click to show internal directories.
Click to hide internal directories.