dc

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDcServer

func RegisterDcServer(s *grpc.Server, srv DcServer)

Types

type DcClient

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

DcClient is the client API for Dc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDcClient

func NewDcClient(cc *grpc.ClientConn) DcClient

type DcServer

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

DcServer is the server API for Dc service.

type GetGroupInfoReq

type GetGroupInfoReq struct {
	Page                 *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	GroupID              int64     `protobuf:"varint,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GetGroupInfoReq) Descriptor

func (*GetGroupInfoReq) Descriptor() ([]byte, []int)

func (*GetGroupInfoReq) GetGroupID

func (m *GetGroupInfoReq) GetGroupID() int64

func (*GetGroupInfoReq) GetPage

func (m *GetGroupInfoReq) GetPage() *PageInfo

func (*GetGroupInfoReq) ProtoMessage

func (*GetGroupInfoReq) ProtoMessage()

func (*GetGroupInfoReq) Reset

func (m *GetGroupInfoReq) Reset()

func (*GetGroupInfoReq) String

func (m *GetGroupInfoReq) String() string

func (*GetGroupInfoReq) XXX_DiscardUnknown

func (m *GetGroupInfoReq) XXX_DiscardUnknown()

func (*GetGroupInfoReq) XXX_Marshal

func (m *GetGroupInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGroupInfoReq) XXX_Merge

func (m *GetGroupInfoReq) XXX_Merge(src proto.Message)

func (*GetGroupInfoReq) XXX_Size

func (m *GetGroupInfoReq) XXX_Size() int

func (*GetGroupInfoReq) XXX_Unmarshal

func (m *GetGroupInfoReq) XXX_Unmarshal(b []byte) error

type GetGroupInfoResp

type GetGroupInfoResp struct {
	Info                 []*GroupInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	Total                int64        `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*GetGroupInfoResp) Descriptor

func (*GetGroupInfoResp) Descriptor() ([]byte, []int)

func (*GetGroupInfoResp) GetInfo

func (m *GetGroupInfoResp) GetInfo() []*GroupInfo

func (*GetGroupInfoResp) GetTotal

func (m *GetGroupInfoResp) GetTotal() int64

func (*GetGroupInfoResp) ProtoMessage

func (*GetGroupInfoResp) ProtoMessage()

func (*GetGroupInfoResp) Reset

func (m *GetGroupInfoResp) Reset()

func (*GetGroupInfoResp) String

func (m *GetGroupInfoResp) String() string

func (*GetGroupInfoResp) XXX_DiscardUnknown

func (m *GetGroupInfoResp) XXX_DiscardUnknown()

func (*GetGroupInfoResp) XXX_Marshal

func (m *GetGroupInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGroupInfoResp) XXX_Merge

func (m *GetGroupInfoResp) XXX_Merge(src proto.Message)

func (*GetGroupInfoResp) XXX_Size

func (m *GetGroupInfoResp) XXX_Size() int

func (*GetGroupInfoResp) XXX_Unmarshal

func (m *GetGroupInfoResp) XXX_Unmarshal(b []byte) error

type GetGroupMemberReq

type GetGroupMemberReq struct {
	Page                 *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	GroupID              int64     `protobuf:"varint,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
	MemberID             string    `protobuf:"bytes,3,opt,name=memberID,proto3" json:"memberID,omitempty"`
	MemberType           int64     `protobuf:"varint,4,opt,name=memberType,proto3" json:"memberType,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GetGroupMemberReq) Descriptor

func (*GetGroupMemberReq) Descriptor() ([]byte, []int)

func (*GetGroupMemberReq) GetGroupID

func (m *GetGroupMemberReq) GetGroupID() int64

func (*GetGroupMemberReq) GetMemberID

func (m *GetGroupMemberReq) GetMemberID() string

func (*GetGroupMemberReq) GetMemberType

func (m *GetGroupMemberReq) GetMemberType() int64

func (*GetGroupMemberReq) GetPage

func (m *GetGroupMemberReq) GetPage() *PageInfo

func (*GetGroupMemberReq) ProtoMessage

func (*GetGroupMemberReq) ProtoMessage()

func (*GetGroupMemberReq) Reset

func (m *GetGroupMemberReq) Reset()

func (*GetGroupMemberReq) String

func (m *GetGroupMemberReq) String() string

func (*GetGroupMemberReq) XXX_DiscardUnknown

func (m *GetGroupMemberReq) XXX_DiscardUnknown()

func (*GetGroupMemberReq) XXX_Marshal

func (m *GetGroupMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGroupMemberReq) XXX_Merge

func (m *GetGroupMemberReq) XXX_Merge(src proto.Message)

func (*GetGroupMemberReq) XXX_Size

func (m *GetGroupMemberReq) XXX_Size() int

func (*GetGroupMemberReq) XXX_Unmarshal

func (m *GetGroupMemberReq) XXX_Unmarshal(b []byte) error

type GetGroupMemberResp

type GetGroupMemberResp struct {
	Info                 []*GroupMember `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	Total                int64          `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetGroupMemberResp) Descriptor

func (*GetGroupMemberResp) Descriptor() ([]byte, []int)

func (*GetGroupMemberResp) GetInfo

func (m *GetGroupMemberResp) GetInfo() []*GroupMember

func (*GetGroupMemberResp) GetTotal

func (m *GetGroupMemberResp) GetTotal() int64

func (*GetGroupMemberResp) ProtoMessage

func (*GetGroupMemberResp) ProtoMessage()

func (*GetGroupMemberResp) Reset

func (m *GetGroupMemberResp) Reset()

func (*GetGroupMemberResp) String

func (m *GetGroupMemberResp) String() string

func (*GetGroupMemberResp) XXX_DiscardUnknown

func (m *GetGroupMemberResp) XXX_DiscardUnknown()

func (*GetGroupMemberResp) XXX_Marshal

func (m *GetGroupMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGroupMemberResp) XXX_Merge

func (m *GetGroupMemberResp) XXX_Merge(src proto.Message)

func (*GetGroupMemberResp) XXX_Size

func (m *GetGroupMemberResp) XXX_Size() int

func (*GetGroupMemberResp) XXX_Unmarshal

func (m *GetGroupMemberResp) XXX_Unmarshal(b []byte) error

type GroupInfo

type GroupInfo struct {
	GroupID              int64    `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Uid                  int64    `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
	CreatedTime          int64    `protobuf:"varint,4,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

组信息

func (*GroupInfo) Descriptor

func (*GroupInfo) Descriptor() ([]byte, []int)

func (*GroupInfo) GetCreatedTime

func (m *GroupInfo) GetCreatedTime() int64

func (*GroupInfo) GetGroupID

func (m *GroupInfo) GetGroupID() int64

func (*GroupInfo) GetName

func (m *GroupInfo) GetName() string

func (*GroupInfo) GetUid

func (m *GroupInfo) GetUid() int64

func (*GroupInfo) ProtoMessage

func (*GroupInfo) ProtoMessage()

func (*GroupInfo) Reset

func (m *GroupInfo) Reset()

func (*GroupInfo) String

func (m *GroupInfo) String() string

func (*GroupInfo) XXX_DiscardUnknown

func (m *GroupInfo) XXX_DiscardUnknown()

func (*GroupInfo) XXX_Marshal

func (m *GroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupInfo) XXX_Merge

func (m *GroupInfo) XXX_Merge(src proto.Message)

func (*GroupInfo) XXX_Size

func (m *GroupInfo) XXX_Size() int

func (*GroupInfo) XXX_Unmarshal

func (m *GroupInfo) XXX_Unmarshal(b []byte) error

type GroupMember

type GroupMember struct {
	GroupID int64 `protobuf:"varint,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
	//如果是用户,则是uid的十进制字符串,
	//如果是设备,则是productID:deviceName的组合方式
	MemberID             string   `protobuf:"bytes,2,opt,name=memberID,proto3" json:"memberID,omitempty"`
	MemberType           int64    `protobuf:"varint,3,opt,name=memberType,proto3" json:"memberType,omitempty"`
	CreatedTime          int64    `protobuf:"varint,4,opt,name=createdTime,proto3" json:"createdTime,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GroupMember) Descriptor

func (*GroupMember) Descriptor() ([]byte, []int)

func (*GroupMember) GetCreatedTime

func (m *GroupMember) GetCreatedTime() int64

func (*GroupMember) GetGroupID

func (m *GroupMember) GetGroupID() int64

func (*GroupMember) GetMemberID

func (m *GroupMember) GetMemberID() string

func (*GroupMember) GetMemberType

func (m *GroupMember) GetMemberType() int64

func (*GroupMember) ProtoMessage

func (*GroupMember) ProtoMessage()

func (*GroupMember) Reset

func (m *GroupMember) Reset()

func (*GroupMember) String

func (m *GroupMember) String() string

func (*GroupMember) XXX_DiscardUnknown

func (m *GroupMember) XXX_DiscardUnknown()

func (*GroupMember) XXX_Marshal

func (m *GroupMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupMember) XXX_Merge

func (m *GroupMember) XXX_Merge(src proto.Message)

func (*GroupMember) XXX_Size

func (m *GroupMember) XXX_Size() int

func (*GroupMember) XXX_Unmarshal

func (m *GroupMember) XXX_Unmarshal(b []byte) error

type ManageGroupInfoReq

type ManageGroupInfoReq struct {
	Opt                  int64      `protobuf:"varint,1,opt,name=opt,proto3" json:"opt,omitempty"`
	Info                 *GroupInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ManageGroupInfoReq) Descriptor

func (*ManageGroupInfoReq) Descriptor() ([]byte, []int)

func (*ManageGroupInfoReq) GetInfo

func (m *ManageGroupInfoReq) GetInfo() *GroupInfo

func (*ManageGroupInfoReq) GetOpt

func (m *ManageGroupInfoReq) GetOpt() int64

func (*ManageGroupInfoReq) ProtoMessage

func (*ManageGroupInfoReq) ProtoMessage()

func (*ManageGroupInfoReq) Reset

func (m *ManageGroupInfoReq) Reset()

func (*ManageGroupInfoReq) String

func (m *ManageGroupInfoReq) String() string

func (*ManageGroupInfoReq) XXX_DiscardUnknown

func (m *ManageGroupInfoReq) XXX_DiscardUnknown()

func (*ManageGroupInfoReq) XXX_Marshal

func (m *ManageGroupInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ManageGroupInfoReq) XXX_Merge

func (m *ManageGroupInfoReq) XXX_Merge(src proto.Message)

func (*ManageGroupInfoReq) XXX_Size

func (m *ManageGroupInfoReq) XXX_Size() int

func (*ManageGroupInfoReq) XXX_Unmarshal

func (m *ManageGroupInfoReq) XXX_Unmarshal(b []byte) error

type ManageGroupMemberReq

type ManageGroupMemberReq struct {
	Opt                  int64        `protobuf:"varint,1,opt,name=opt,proto3" json:"opt,omitempty"`
	Info                 *GroupMember `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ManageGroupMemberReq) Descriptor

func (*ManageGroupMemberReq) Descriptor() ([]byte, []int)

func (*ManageGroupMemberReq) GetInfo

func (m *ManageGroupMemberReq) GetInfo() *GroupMember

func (*ManageGroupMemberReq) GetOpt

func (m *ManageGroupMemberReq) GetOpt() int64

func (*ManageGroupMemberReq) ProtoMessage

func (*ManageGroupMemberReq) ProtoMessage()

func (*ManageGroupMemberReq) Reset

func (m *ManageGroupMemberReq) Reset()

func (*ManageGroupMemberReq) String

func (m *ManageGroupMemberReq) String() string

func (*ManageGroupMemberReq) XXX_DiscardUnknown

func (m *ManageGroupMemberReq) XXX_DiscardUnknown()

func (*ManageGroupMemberReq) XXX_Marshal

func (m *ManageGroupMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ManageGroupMemberReq) XXX_Merge

func (m *ManageGroupMemberReq) XXX_Merge(src proto.Message)

func (*ManageGroupMemberReq) XXX_Size

func (m *ManageGroupMemberReq) XXX_Size() int

func (*ManageGroupMemberReq) XXX_Unmarshal

func (m *ManageGroupMemberReq) XXX_Unmarshal(b []byte) error

type PageInfo

type PageInfo struct {
	Page                 int64    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize             int64    `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PageInfo) Descriptor

func (*PageInfo) Descriptor() ([]byte, []int)

func (*PageInfo) GetPage

func (m *PageInfo) GetPage() int64

func (*PageInfo) GetPageSize

func (m *PageInfo) GetPageSize() int64

func (*PageInfo) ProtoMessage

func (*PageInfo) ProtoMessage()

func (*PageInfo) Reset

func (m *PageInfo) Reset()

func (*PageInfo) String

func (m *PageInfo) String() string

func (*PageInfo) XXX_DiscardUnknown

func (m *PageInfo) XXX_DiscardUnknown()

func (*PageInfo) XXX_Marshal

func (m *PageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PageInfo) XXX_Merge

func (m *PageInfo) XXX_Merge(src proto.Message)

func (*PageInfo) XXX_Size

func (m *PageInfo) XXX_Size() int

func (*PageInfo) XXX_Unmarshal

func (m *PageInfo) XXX_Unmarshal(b []byte) error

type Response

type Response struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Response) Descriptor

func (*Response) Descriptor() ([]byte, []int)

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Response) XXX_Merge

func (m *Response) XXX_Merge(src proto.Message)

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

func (m *Response) XXX_Unmarshal(b []byte) error

type SendActionReq

type SendActionReq struct {
	MemberID             string   `protobuf:"bytes,1,opt,name=memberID,proto3" json:"memberID,omitempty"`
	MemberType           int64    `protobuf:"varint,2,opt,name=memberType,proto3" json:"memberType,omitempty"`
	ProductID            string   `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"`
	DeviceName           string   `protobuf:"bytes,4,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	ActionId             string   `protobuf:"bytes,5,opt,name=actionId,proto3" json:"actionId,omitempty"`
	InputParams          string   `protobuf:"bytes,6,opt,name=inputParams,proto3" json:"inputParams,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

上面是组及组成员的获取及管理 下面是设备与人交互

func (*SendActionReq) Descriptor

func (*SendActionReq) Descriptor() ([]byte, []int)

func (*SendActionReq) GetActionId

func (m *SendActionReq) GetActionId() string

func (*SendActionReq) GetDeviceName

func (m *SendActionReq) GetDeviceName() string

func (*SendActionReq) GetInputParams

func (m *SendActionReq) GetInputParams() string

func (*SendActionReq) GetMemberID

func (m *SendActionReq) GetMemberID() string

func (*SendActionReq) GetMemberType

func (m *SendActionReq) GetMemberType() int64

func (*SendActionReq) GetProductID

func (m *SendActionReq) GetProductID() string

func (*SendActionReq) ProtoMessage

func (*SendActionReq) ProtoMessage()

func (*SendActionReq) Reset

func (m *SendActionReq) Reset()

func (*SendActionReq) String

func (m *SendActionReq) String() string

func (*SendActionReq) XXX_DiscardUnknown

func (m *SendActionReq) XXX_DiscardUnknown()

func (*SendActionReq) XXX_Marshal

func (m *SendActionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendActionReq) XXX_Merge

func (m *SendActionReq) XXX_Merge(src proto.Message)

func (*SendActionReq) XXX_Size

func (m *SendActionReq) XXX_Size() int

func (*SendActionReq) XXX_Unmarshal

func (m *SendActionReq) XXX_Unmarshal(b []byte) error

type SendActionResp

type SendActionResp struct {
	ClientToken          string   `protobuf:"bytes,1,opt,name=clientToken,proto3" json:"clientToken,omitempty"`
	OutputParams         string   `protobuf:"bytes,2,opt,name=outputParams,proto3" json:"outputParams,omitempty"`
	Status               string   `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Code                 int64    `protobuf:"varint,4,opt,name=code,proto3" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendActionResp) Descriptor

func (*SendActionResp) Descriptor() ([]byte, []int)

func (*SendActionResp) GetClientToken

func (m *SendActionResp) GetClientToken() string

func (*SendActionResp) GetCode

func (m *SendActionResp) GetCode() int64

func (*SendActionResp) GetOutputParams

func (m *SendActionResp) GetOutputParams() string

func (*SendActionResp) GetStatus

func (m *SendActionResp) GetStatus() string

func (*SendActionResp) ProtoMessage

func (*SendActionResp) ProtoMessage()

func (*SendActionResp) Reset

func (m *SendActionResp) Reset()

func (*SendActionResp) String

func (m *SendActionResp) String() string

func (*SendActionResp) XXX_DiscardUnknown

func (m *SendActionResp) XXX_DiscardUnknown()

func (*SendActionResp) XXX_Marshal

func (m *SendActionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendActionResp) XXX_Merge

func (m *SendActionResp) XXX_Merge(src proto.Message)

func (*SendActionResp) XXX_Size

func (m *SendActionResp) XXX_Size() int

func (*SendActionResp) XXX_Unmarshal

func (m *SendActionResp) XXX_Unmarshal(b []byte) error

type SendPropertyReq

type SendPropertyReq struct {
	MemberID             string   `protobuf:"bytes,1,opt,name=memberID,proto3" json:"memberID,omitempty"`
	MemberType           int64    `protobuf:"varint,2,opt,name=memberType,proto3" json:"memberType,omitempty"`
	ProductID            string   `protobuf:"bytes,3,opt,name=productID,proto3" json:"productID,omitempty"`
	DeviceName           string   `protobuf:"bytes,4,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	Data                 string   `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	Method               string   `protobuf:"bytes,6,opt,name=method,proto3" json:"method,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendPropertyReq) Descriptor

func (*SendPropertyReq) Descriptor() ([]byte, []int)

func (*SendPropertyReq) GetData

func (m *SendPropertyReq) GetData() string

func (*SendPropertyReq) GetDeviceName

func (m *SendPropertyReq) GetDeviceName() string

func (*SendPropertyReq) GetMemberID

func (m *SendPropertyReq) GetMemberID() string

func (*SendPropertyReq) GetMemberType

func (m *SendPropertyReq) GetMemberType() int64

func (*SendPropertyReq) GetMethod

func (m *SendPropertyReq) GetMethod() string

func (*SendPropertyReq) GetProductID

func (m *SendPropertyReq) GetProductID() string

func (*SendPropertyReq) ProtoMessage

func (*SendPropertyReq) ProtoMessage()

func (*SendPropertyReq) Reset

func (m *SendPropertyReq) Reset()

func (*SendPropertyReq) String

func (m *SendPropertyReq) String() string

func (*SendPropertyReq) XXX_DiscardUnknown

func (m *SendPropertyReq) XXX_DiscardUnknown()

func (*SendPropertyReq) XXX_Marshal

func (m *SendPropertyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendPropertyReq) XXX_Merge

func (m *SendPropertyReq) XXX_Merge(src proto.Message)

func (*SendPropertyReq) XXX_Size

func (m *SendPropertyReq) XXX_Size() int

func (*SendPropertyReq) XXX_Unmarshal

func (m *SendPropertyReq) XXX_Unmarshal(b []byte) error

type SendPropertyResp

type SendPropertyResp struct {
	Data                 string   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Status               string   `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Code                 int64    `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendPropertyResp) Descriptor

func (*SendPropertyResp) Descriptor() ([]byte, []int)

func (*SendPropertyResp) GetCode

func (m *SendPropertyResp) GetCode() int64

func (*SendPropertyResp) GetData

func (m *SendPropertyResp) GetData() string

func (*SendPropertyResp) GetStatus

func (m *SendPropertyResp) GetStatus() string

func (*SendPropertyResp) ProtoMessage

func (*SendPropertyResp) ProtoMessage()

func (*SendPropertyResp) Reset

func (m *SendPropertyResp) Reset()

func (*SendPropertyResp) String

func (m *SendPropertyResp) String() string

func (*SendPropertyResp) XXX_DiscardUnknown

func (m *SendPropertyResp) XXX_DiscardUnknown()

func (*SendPropertyResp) XXX_Marshal

func (m *SendPropertyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendPropertyResp) XXX_Merge

func (m *SendPropertyResp) XXX_Merge(src proto.Message)

func (*SendPropertyResp) XXX_Size

func (m *SendPropertyResp) XXX_Size() int

func (*SendPropertyResp) XXX_Unmarshal

func (m *SendPropertyResp) XXX_Unmarshal(b []byte) error

type UnimplementedDcServer

type UnimplementedDcServer struct {
}

UnimplementedDcServer can be embedded to have forward compatible implementations.

func (*UnimplementedDcServer) GetGroupInfo

func (*UnimplementedDcServer) GetGroupMember

func (*UnimplementedDcServer) ManageGroupInfo

func (*UnimplementedDcServer) ManageGroupInfo(ctx context.Context, req *ManageGroupInfoReq) (*GroupInfo, error)

func (*UnimplementedDcServer) ManageGroupMember

func (*UnimplementedDcServer) ManageGroupMember(ctx context.Context, req *ManageGroupMemberReq) (*GroupMember, error)

func (*UnimplementedDcServer) SendAction

func (*UnimplementedDcServer) SendProperty

Jump to

Keyboard shortcuts

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