lib

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthWebhooks

func AuthWebhooks(ctx context.Context, config configuration.Config, connector *platform_connector_lib.Connector, connectionLog connectionlog.ConnectionLog)

func Start

func Start(basectx context.Context, config configuration.Config) (err error)

Types

type Mqtt

type Mqtt interface {
	Publish(topic, msg string) (err error)
}

func MqttStart

func MqttStart(ctx context.Context, config configuration.Config) (mqtt Mqtt, err error)

type Mqtt4

type Mqtt4 struct {
	Debug bool
	// contains filtered or unexported fields
}

func Mqtt4Start

func Mqtt4Start(ctx context.Context, config configuration.Config) (mqtt *Mqtt4, err error)

func (*Mqtt4) Publish

func (this *Mqtt4) Publish(topic, msg string) (err error)

type Mqtt5

type Mqtt5 struct {
	Debug bool
	// contains filtered or unexported fields
}

func Mqtt5Start

func Mqtt5Start(ctx context.Context, config configuration.Config) (mqtt *Mqtt5, err error)

func (*Mqtt5) Publish

func (this *Mqtt5) Publish(topic, msg string) (err error)

Directories

Path Synopsis
webhooks

Jump to

Keyboard shortcuts

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