subInner

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ThingsDDDeliverGroup = "things_dd_group"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handle

type Handle func(ctx context.Context) InnerSubHandle

type InnerSubHandle

type InnerSubHandle interface {
	PublishToDev(info *devices.InnerPublish) error
}

type NatsClient

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

func (*NatsClient) SubToDevMsg

func (n *NatsClient) SubToDevMsg(handle Handle) error

type SubInner

type SubInner interface {
	SubToDevMsg(handle Handle) error
}

func NewSubInner

func NewSubInner(conf conf.EventConf) (SubInner, error)

Jump to

Keyboard shortcuts

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