handlers

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: GPL-3.0 Imports: 13 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) EventGetStateById added in v0.18.2

func (s *EventHandler) EventGetStateById(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) EventSTT added in v0.20.0

func (s *EventHandler) EventSTT(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