server

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DcServer

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

func NewDcServer

func NewDcServer(svcCtx *svc.ServiceContext) *DcServer

func (*DcServer) GetGroupInfo

func (s *DcServer) GetGroupInfo(ctx context.Context, in *dc.GetGroupInfoReq) (*dc.GetGroupInfoResp, error)

获取组信息

func (*DcServer) GetGroupMember

func (s *DcServer) GetGroupMember(ctx context.Context, in *dc.GetGroupMemberReq) (*dc.GetGroupMemberResp, error)

获取组成员

func (*DcServer) ManageGroupInfo

func (s *DcServer) ManageGroupInfo(ctx context.Context, in *dc.ManageGroupInfoReq) (*dc.GroupInfo, error)

管理组

func (*DcServer) ManageGroupMember

func (s *DcServer) ManageGroupMember(ctx context.Context, in *dc.ManageGroupMemberReq) (*dc.GroupMember, error)

管理组成员

func (*DcServer) SendAction

func (s *DcServer) SendAction(ctx context.Context, in *dc.SendActionReq) (*dc.SendActionResp, error)

同步调用设备行为

func (*DcServer) SendProperty

func (s *DcServer) SendProperty(ctx context.Context, in *dc.SendPropertyReq) (*dc.SendPropertyResp, error)

同步调用设备属性

Jump to

Keyboard shortcuts

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