Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventManager ¶
type EventManager struct {
// contains filtered or unexported fields
}
EventManager is a wrapper to handle event logs
func NewEventManager ¶
func NewEventManager(wsEndpoint string, env *object.Environment) *EventManager
NewEventManager creates a new event manager
func (*EventManager) Listen ¶
func (e *EventManager) Listen(event *object.Event) error
Listen listens for events
func (*EventManager) Shutdown ¶
func (e *EventManager) Shutdown()
Shutdown closes the manager and all the event listeners
Click to show internal directories.
Click to hide internal directories.