manager

package
Version: v0.0.0-...-9e713b4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL