source

package
v0.2024.4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBacnet

func NewBacnet(services Services) task.Starter

func NewMqtt

func NewMqtt(services Services) task.Starter

func NewSmartCore

func NewSmartCore(services Services) task.Starter

Types

type Publisher

type Publisher interface {
	Publish(ctx context.Context, topic string, payload any) error
}

type PublisherFunc

type PublisherFunc func(ctx context.Context, topic string, payload any) error

func (PublisherFunc) Publish

func (p PublisherFunc) Publish(ctx context.Context, topic string, payload any) error

type Services

type Services struct {
	auto.Services
	Publisher Publisher
}

Jump to

Keyboard shortcuts

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