Versions in this module Expand all Collapse all v0 v0.10.7 Oct 9, 2024 v0.10.6 Oct 6, 2024 Changes in this version + type ConnType int8 + const Connect + const DisConnect + type NatsJsClient struct + func (n *NatsJsClient) DevPubConfig(ctx context.Context, publishMsg *devices.DevPublish) error + func (n *NatsJsClient) DevPubGateway(ctx context.Context, publishMsg *devices.DevPublish) error + func (n *NatsJsClient) DevPubMsg(ctx context.Context, publishMsg *devices.DevPublish) error + func (n *NatsJsClient) DevPubOta(ctx context.Context, publishMsg *devices.DevPublish) error + func (n *NatsJsClient) DevPubSDKLog(ctx context.Context, publishMsg *devices.DevPublish) error + func (n *NatsJsClient) DevPubShadow(ctx context.Context, publishMsg *devices.DevPublish) error + func (n *NatsJsClient) DevPubThing(ctx context.Context, publishMsg *devices.DevPublish) error + func (n *NatsJsClient) PubConn(ctx context.Context, conn ConnType, info *devices.DevConn) error + type PubInner interface + DevPubMsg func(ctx context.Context, publishMsg *devices.DevPublish) error + PubConn func(ctx context.Context, conn ConnType, info *devices.DevConn) error + func NewPubInner(c conf.EventConf, protocolCode string, nodeID int64) (PubInner, error)