dcclient

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dc

type Dc interface {
	// 管理组
	ManageGroupInfo(ctx context.Context, in *ManageGroupInfoReq) (*GroupInfo, error)
	// 管理组成员
	ManageGroupMember(ctx context.Context, in *ManageGroupMemberReq) (*GroupMember, error)
	// 获取组信息
	GetGroupInfo(ctx context.Context, in *GetGroupInfoReq) (*GetGroupInfoResp, error)
	// 获取组成员
	GetGroupMember(ctx context.Context, in *GetGroupMemberReq) (*GetGroupMemberResp, error)
	// 同步调用设备行为
	SendAction(ctx context.Context, in *SendActionReq) (*SendActionResp, error)
	// 同步调用设备属性
	SendProperty(ctx context.Context, in *SendPropertyReq) (*SendPropertyResp, error)
}

func NewDc

func NewDc(cli zrpc.Client) Dc

type GetGroupInfoReq

type GetGroupInfoReq = dc.GetGroupInfoReq

type GetGroupInfoResp

type GetGroupInfoResp = dc.GetGroupInfoResp

type GetGroupMemberReq

type GetGroupMemberReq = dc.GetGroupMemberReq

type GetGroupMemberResp

type GetGroupMemberResp = dc.GetGroupMemberResp

type GroupInfo

type GroupInfo = dc.GroupInfo

type GroupMember

type GroupMember = dc.GroupMember

type ManageGroupInfoReq

type ManageGroupInfoReq = dc.ManageGroupInfoReq

type ManageGroupMemberReq

type ManageGroupMemberReq = dc.ManageGroupMemberReq

type PageInfo

type PageInfo = dc.PageInfo

type Response

type Response = dc.Response

type SendActionReq

type SendActionReq = dc.SendActionReq

type SendActionResp

type SendActionResp = dc.SendActionResp

type SendPropertyReq

type SendPropertyReq = dc.SendPropertyReq

type SendPropertyResp

type SendPropertyResp = dc.SendPropertyResp

Jump to

Keyboard shortcuts

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