package
6.6.0
Repository: https://github.com/lxc/incus.git
Documentation: pkg.go.dev

# Functions

NewDevIncusServer returns a new devIncus event server.
NewEventHandler creates and returns a new event handler.
NewInternalListener returns an InternalListener.
NewServer returns a new event server.
NewSimpleListenerConnection returns a new simple listener connection.
NewStreamListenerConnection returns a new http stream listener connection.
NewWebsocketListenerConnection returns a new websocket listener connection.

# Constants

EventSourceLocal indicates the event was generated locally.
EventSourcePull indicates the event was received from an outbound event listener stream.
EventSourcePush indicates the event was received from an event listener client connected to us.

# Variables

LoggingServer controls what server to use for messages coming from the logger.

# Structs

DevIncusListener describes a devIncus event listener.
DevIncusServer represents an instance of an devIncus event server.
Handler describes an event handler.
InternalListener represents a internal event listener.
Listener describes an event listener.
Server represents an instance of an event server.

# Interfaces

EventListenerConnection represents an event listener connection.

# Type aliases

EventHandler called when the connection receives an event from the client.
EventSource indicates the source of an event.
InjectFunc is used to inject an event received by a listener into the local events dispatcher.
NotifyFunc is called when an event is dispatched.