subInner

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ThingsDDDeliverGroup = "things_dg_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(c conf.EventConf, nodeID int64) (SubInner, error)

Jump to

Keyboard shortcuts

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