events

package
v0.0.21 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Factory = &Event{}

Functions

This section is empty.

Types

type DeploymentProducer

type DeploymentProducer struct {
	Config             config.Config
	DeploymentProducer interfaces.Producer
	DoneProducer       interfaces.Producer
}

func (*DeploymentProducer) Produce

func (this *DeploymentProducer) Produce(command messages.DeploymentCommand) error

type DoneNotification

type DoneNotification struct {
	Command string `json:"command"`
	Id      string `json:"id"`
	Handler string `json:"handler"`
}

type Event

type Event struct{}

func (*Event) NewDeploymentProducer

func (this *Event) NewDeploymentProducer(ctx context.Context, config config.Config) (interfaces.DeploymentProducer, error)

func (*Event) NewDeviceGroupConsumer

func (this *Event) NewDeviceGroupConsumer(ctx context.Context, config config.Config, listener func(groupId string) error) error

func (*Event) NewUserCommandConsumer

func (this *Event) NewUserCommandConsumer(ctx context.Context, config config.Config, listener func(delivery messages.UserCommandMsg) error) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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