handlers

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventHandler

type EventHandler struct {
	// contains filtered or unexported fields
}

func NewEventHandler

func NewEventHandler(lc fx.Lifecycle,
	stream *stream.Stream,
	eventBus bus.Bus) *EventHandler

func (*EventHandler) CommandTerminal added in v0.15.0

func (s *EventHandler) CommandTerminal(client stream.IStreamClient, query string, body []byte)

func (*EventHandler) EventAddWebPushSubscription added in v0.9.5

func (s *EventHandler) EventAddWebPushSubscription(client stream.IStreamClient, query string, body []byte)

func (*EventHandler) EventGetLastState

func (s *EventHandler) EventGetLastState(client stream.IStreamClient, query string, body []byte)

func (*EventHandler) EventGetServerVersion added in v0.17.0

func (s *EventHandler) EventGetServerVersion(client stream.IStreamClient, query string, body []byte)

func (*EventHandler) EventGetUserDevices added in v0.17.0

func (s *EventHandler) EventGetUserDevices(client stream.IStreamClient, query string, body []byte)

func (*EventHandler) EventGetWebPushPublicKey added in v0.9.5

func (s *EventHandler) EventGetWebPushPublicKey(client stream.IStreamClient, query string, body []byte)

func (*EventHandler) Shutdown

func (s *EventHandler) Shutdown(_ context.Context) error

Shutdown ...

func (*EventHandler) Start

func (s *EventHandler) Start(_ context.Context) error

Start ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL