logic

package
v0.0.0-...-592b0ac Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectLogic

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

func (*ConnectLogic) Handle

func (l *ConnectLogic) Handle(msg *types.Elements) error

type DisConnectLogic

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

func (*DisConnectLogic) Handle

func (l *DisConnectLogic) Handle(msg *types.Elements) error

type LogicHandle

type LogicHandle interface {
	Handle(msg *types.Elements) error
}

func NewConnectLogic

func NewConnectLogic(ctx context.Context, svcCtx *svc.ServiceContext) LogicHandle

func NewDisConnectLogic

func NewDisConnectLogic(ctx context.Context, svcCtx *svc.ServiceContext) LogicHandle

func NewPublishLogic

func NewPublishLogic(ctx context.Context, svcCtx *svc.ServiceContext) LogicHandle

type PublishLogic

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

func (*PublishLogic) Handle

func (l *PublishLogic) Handle(msg *types.Elements) error

func (*PublishLogic) HandleAction

func (l *PublishLogic) HandleAction(msg *types.Elements) error

func (*PublishLogic) HandleDefault

func (l *PublishLogic) HandleDefault(msg *types.Elements) error

func (*PublishLogic) HandleEvent

func (l *PublishLogic) HandleEvent(msg *types.Elements) error

func (*PublishLogic) HandleOta

func (l *PublishLogic) HandleOta(msg *types.Elements) error

func (*PublishLogic) HandleProperty

func (l *PublishLogic) HandleProperty(msg *types.Elements) error

func (*PublishLogic) HandleThing

func (l *PublishLogic) HandleThing(msg *types.Elements) error

func (*PublishLogic) StatusResp

func (l *PublishLogic) StatusResp(Method, clientToken string, err error)

Jump to

Keyboard shortcuts

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