Documentation ¶
Index ¶
- type DcServer
- func (s *DcServer) GetGroupInfo(ctx context.Context, in *dc.GetGroupInfoReq) (*dc.GetGroupInfoResp, error)
- func (s *DcServer) GetGroupMember(ctx context.Context, in *dc.GetGroupMemberReq) (*dc.GetGroupMemberResp, error)
- func (s *DcServer) ManageGroupInfo(ctx context.Context, in *dc.ManageGroupInfoReq) (*dc.GroupInfo, error)
- func (s *DcServer) ManageGroupMember(ctx context.Context, in *dc.ManageGroupMemberReq) (*dc.GroupMember, error)
- func (s *DcServer) SendAction(ctx context.Context, in *dc.SendActionReq) (*dc.SendActionResp, error)
- func (s *DcServer) SendProperty(ctx context.Context, in *dc.SendPropertyReq) (*dc.SendPropertyResp, error)
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)
同步调用设备属性
Click to show internal directories.
Click to hide internal directories.