deviceSub

package
v1.0.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceSubServer

type DeviceSubServer struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeviceSubServer

func NewDeviceSubServer(svcCtx *svc.ServiceContext, ctx context.Context) *DeviceSubServer

func (*DeviceSubServer) Connected

func (s *DeviceSubServer) Connected(info *devices.DevConn) error

func (*DeviceSubServer) Disconnected

func (s *DeviceSubServer) Disconnected(info *devices.DevConn) error

func (*DeviceSubServer) ExtMsg

func (s *DeviceSubServer) ExtMsg(topic string, payload []byte) error

func (*DeviceSubServer) Msg

func (s *DeviceSubServer) Msg(topic string, payload []byte) error

Msg 设备发布物模型消息的信息通过nats转发给内部服务

Jump to

Keyboard shortcuts

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