Documentation
¶
Index ¶
- func RegisterChannelServiceHandler(s server.Server, hdlr ChannelServiceHandler, opts ...server.HandlerOption) error
- func RegisterMotionServiceHandler(s server.Server, hdlr MotionServiceHandler, opts ...server.HandlerOption) error
- func RegisterPartnerServiceHandler(s server.Server, hdlr PartnerServiceHandler, opts ...server.HandlerOption) error
- type ChannelInfo
- func (*ChannelInfo) Descriptor() ([]byte, []int)
- func (m *ChannelInfo) GetCreated() int64
- func (m *ChannelInfo) GetCreator() string
- func (m *ChannelInfo) GetId() uint64
- func (m *ChannelInfo) GetName() string
- func (m *ChannelInfo) GetOperator() string
- func (m *ChannelInfo) GetPhone() string
- func (m *ChannelInfo) GetRemark() string
- func (m *ChannelInfo) GetSecret() string
- func (m *ChannelInfo) GetTags() []string
- func (m *ChannelInfo) GetUid() string
- func (m *ChannelInfo) GetUpdated() int64
- func (*ChannelInfo) ProtoMessage()
- func (m *ChannelInfo) Reset()
- func (m *ChannelInfo) String() string
- func (m *ChannelInfo) XXX_DiscardUnknown()
- func (m *ChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelInfo) XXX_Merge(src proto.Message)
- func (m *ChannelInfo) XXX_Size() int
- func (m *ChannelInfo) XXX_Unmarshal(b []byte) error
- type ChannelService
- type ChannelServiceHandler
- type MotionInfo
- func (*MotionInfo) Descriptor() ([]byte, []int)
- func (m *MotionInfo) GetApp() string
- func (m *MotionInfo) GetCount() uint32
- func (m *MotionInfo) GetCreated() int64
- func (m *MotionInfo) GetCreator() string
- func (m *MotionInfo) GetEvent() string
- func (m *MotionInfo) GetId() uint64
- func (m *MotionInfo) GetName() string
- func (m *MotionInfo) GetOperator() string
- func (m *MotionInfo) GetScene() string
- func (m *MotionInfo) GetSn() string
- func (m *MotionInfo) GetType() uint32
- func (m *MotionInfo) GetUid() string
- func (m *MotionInfo) GetUpdated() int64
- func (m *MotionInfo) GetUser() string
- func (*MotionInfo) ProtoMessage()
- func (m *MotionInfo) Reset()
- func (m *MotionInfo) String() string
- func (m *MotionInfo) XXX_DiscardUnknown()
- func (m *MotionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MotionInfo) XXX_Merge(src proto.Message)
- func (m *MotionInfo) XXX_Size() int
- func (m *MotionInfo) XXX_Unmarshal(b []byte) error
- type MotionService
- type MotionServiceHandler
- type PartnerInfo
- func (*PartnerInfo) Descriptor() ([]byte, []int)
- func (m *PartnerInfo) GetCreated() int64
- func (m *PartnerInfo) GetCreator() string
- func (m *PartnerInfo) GetId() uint64
- func (m *PartnerInfo) GetName() string
- func (m *PartnerInfo) GetOperator() string
- func (m *PartnerInfo) GetPhone() string
- func (m *PartnerInfo) GetRemark() string
- func (m *PartnerInfo) GetSecret() string
- func (m *PartnerInfo) GetTags() []string
- func (m *PartnerInfo) GetUid() string
- func (m *PartnerInfo) GetUpdated() int64
- func (*PartnerInfo) ProtoMessage()
- func (m *PartnerInfo) Reset()
- func (m *PartnerInfo) String() string
- func (m *PartnerInfo) XXX_DiscardUnknown()
- func (m *PartnerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PartnerInfo) XXX_Merge(src proto.Message)
- func (m *PartnerInfo) XXX_Size() int
- func (m *PartnerInfo) XXX_Unmarshal(b []byte) error
- type PartnerService
- type PartnerServiceHandler
- type ReplyChannelInfo
- func (*ReplyChannelInfo) Descriptor() ([]byte, []int)
- func (m *ReplyChannelInfo) GetInfo() *ChannelInfo
- func (m *ReplyChannelInfo) GetStatus() *ReplyStatus
- func (*ReplyChannelInfo) ProtoMessage()
- func (m *ReplyChannelInfo) Reset()
- func (m *ReplyChannelInfo) String() string
- func (m *ReplyChannelInfo) XXX_DiscardUnknown()
- func (m *ReplyChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyChannelInfo) XXX_Merge(src proto.Message)
- func (m *ReplyChannelInfo) XXX_Size() int
- func (m *ReplyChannelInfo) XXX_Unmarshal(b []byte) error
- type ReplyChannelList
- func (*ReplyChannelList) Descriptor() ([]byte, []int)
- func (m *ReplyChannelList) GetList() []*ChannelInfo
- func (m *ReplyChannelList) GetPageMax() uint32
- func (m *ReplyChannelList) GetPageNow() uint32
- func (m *ReplyChannelList) GetStatus() *ReplyStatus
- func (m *ReplyChannelList) GetTotal() uint64
- func (*ReplyChannelList) ProtoMessage()
- func (m *ReplyChannelList) Reset()
- func (m *ReplyChannelList) String() string
- func (m *ReplyChannelList) XXX_DiscardUnknown()
- func (m *ReplyChannelList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyChannelList) XXX_Merge(src proto.Message)
- func (m *ReplyChannelList) XXX_Size() int
- func (m *ReplyChannelList) XXX_Unmarshal(b []byte) error
- type ReplyInfo
- func (*ReplyInfo) Descriptor() ([]byte, []int)
- func (m *ReplyInfo) GetStatus() *ReplyStatus
- func (m *ReplyInfo) GetUid() string
- func (*ReplyInfo) ProtoMessage()
- func (m *ReplyInfo) Reset()
- func (m *ReplyInfo) String() string
- func (m *ReplyInfo) XXX_DiscardUnknown()
- func (m *ReplyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyInfo) XXX_Merge(src proto.Message)
- func (m *ReplyInfo) XXX_Size() int
- func (m *ReplyInfo) XXX_Unmarshal(b []byte) error
- type ReplyMotionInfo
- func (*ReplyMotionInfo) Descriptor() ([]byte, []int)
- func (m *ReplyMotionInfo) GetInfo() *MotionInfo
- func (m *ReplyMotionInfo) GetStatus() *ReplyStatus
- func (*ReplyMotionInfo) ProtoMessage()
- func (m *ReplyMotionInfo) Reset()
- func (m *ReplyMotionInfo) String() string
- func (m *ReplyMotionInfo) XXX_DiscardUnknown()
- func (m *ReplyMotionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyMotionInfo) XXX_Merge(src proto.Message)
- func (m *ReplyMotionInfo) XXX_Size() int
- func (m *ReplyMotionInfo) XXX_Unmarshal(b []byte) error
- type ReplyMotionList
- func (*ReplyMotionList) Descriptor() ([]byte, []int)
- func (m *ReplyMotionList) GetList() []*MotionInfo
- func (m *ReplyMotionList) GetNumber() uint32
- func (m *ReplyMotionList) GetPage() uint32
- func (m *ReplyMotionList) GetPages() uint32
- func (m *ReplyMotionList) GetStatus() *ReplyStatus
- func (m *ReplyMotionList) GetTotal() uint32
- func (*ReplyMotionList) ProtoMessage()
- func (m *ReplyMotionList) Reset()
- func (m *ReplyMotionList) String() string
- func (m *ReplyMotionList) XXX_DiscardUnknown()
- func (m *ReplyMotionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyMotionList) XXX_Merge(src proto.Message)
- func (m *ReplyMotionList) XXX_Size() int
- func (m *ReplyMotionList) XXX_Unmarshal(b []byte) error
- type ReplyPartnerInfo
- func (*ReplyPartnerInfo) Descriptor() ([]byte, []int)
- func (m *ReplyPartnerInfo) GetInfo() *PartnerInfo
- func (m *ReplyPartnerInfo) GetStatus() *ReplyStatus
- func (*ReplyPartnerInfo) ProtoMessage()
- func (m *ReplyPartnerInfo) Reset()
- func (m *ReplyPartnerInfo) String() string
- func (m *ReplyPartnerInfo) XXX_DiscardUnknown()
- func (m *ReplyPartnerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyPartnerInfo) XXX_Merge(src proto.Message)
- func (m *ReplyPartnerInfo) XXX_Size() int
- func (m *ReplyPartnerInfo) XXX_Unmarshal(b []byte) error
- type ReplyPartnerList
- func (*ReplyPartnerList) Descriptor() ([]byte, []int)
- func (m *ReplyPartnerList) GetList() []*PartnerInfo
- func (m *ReplyPartnerList) GetPageMax() uint32
- func (m *ReplyPartnerList) GetPageNow() uint32
- func (m *ReplyPartnerList) GetStatus() *ReplyStatus
- func (m *ReplyPartnerList) GetTotal() uint64
- func (*ReplyPartnerList) ProtoMessage()
- func (m *ReplyPartnerList) Reset()
- func (m *ReplyPartnerList) String() string
- func (m *ReplyPartnerList) XXX_DiscardUnknown()
- func (m *ReplyPartnerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyPartnerList) XXX_Merge(src proto.Message)
- func (m *ReplyPartnerList) XXX_Size() int
- func (m *ReplyPartnerList) XXX_Unmarshal(b []byte) error
- type ReplyPartnerSecret
- func (*ReplyPartnerSecret) Descriptor() ([]byte, []int)
- func (m *ReplyPartnerSecret) GetSecret() string
- func (m *ReplyPartnerSecret) GetStatus() *ReplyStatus
- func (m *ReplyPartnerSecret) GetUid() string
- func (*ReplyPartnerSecret) ProtoMessage()
- func (m *ReplyPartnerSecret) Reset()
- func (m *ReplyPartnerSecret) String() string
- func (m *ReplyPartnerSecret) XXX_DiscardUnknown()
- func (m *ReplyPartnerSecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyPartnerSecret) XXX_Merge(src proto.Message)
- func (m *ReplyPartnerSecret) XXX_Size() int
- func (m *ReplyPartnerSecret) XXX_Unmarshal(b []byte) error
- type ReplyStatistic
- func (*ReplyStatistic) Descriptor() ([]byte, []int)
- func (m *ReplyStatistic) GetCount() uint32
- func (m *ReplyStatistic) GetKey() string
- func (m *ReplyStatistic) GetOwner() string
- func (m *ReplyStatistic) GetStatus() *ReplyStatus
- func (*ReplyStatistic) ProtoMessage()
- func (m *ReplyStatistic) Reset()
- func (m *ReplyStatistic) String() string
- func (m *ReplyStatistic) XXX_DiscardUnknown()
- func (m *ReplyStatistic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyStatistic) XXX_Merge(src proto.Message)
- func (m *ReplyStatistic) XXX_Size() int
- func (m *ReplyStatistic) XXX_Unmarshal(b []byte) error
- type ReplyStatus
- func (*ReplyStatus) Descriptor() ([]byte, []int)
- func (m *ReplyStatus) GetCode() uint32
- func (m *ReplyStatus) GetMsg() string
- func (*ReplyStatus) ProtoMessage()
- func (m *ReplyStatus) Reset()
- func (m *ReplyStatus) String() string
- func (m *ReplyStatus) XXX_DiscardUnknown()
- func (m *ReplyStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyStatus) XXX_Merge(src proto.Message)
- func (m *ReplyStatus) XXX_Size() int
- func (m *ReplyStatus) XXX_Unmarshal(b []byte) error
- type ReqChannelAdd
- func (*ReqChannelAdd) Descriptor() ([]byte, []int)
- func (m *ReqChannelAdd) GetEntity() string
- func (m *ReqChannelAdd) GetName() string
- func (m *ReqChannelAdd) GetOperator() string
- func (m *ReqChannelAdd) GetPasswords() string
- func (m *ReqChannelAdd) GetPhone() string
- func (m *ReqChannelAdd) GetPortrait() string
- func (m *ReqChannelAdd) GetRemark() string
- func (m *ReqChannelAdd) GetTags() []string
- func (*ReqChannelAdd) ProtoMessage()
- func (m *ReqChannelAdd) Reset()
- func (m *ReqChannelAdd) String() string
- func (m *ReqChannelAdd) XXX_DiscardUnknown()
- func (m *ReqChannelAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqChannelAdd) XXX_Merge(src proto.Message)
- func (m *ReqChannelAdd) XXX_Size() int
- func (m *ReqChannelAdd) XXX_Unmarshal(b []byte) error
- type ReqChannelList
- func (*ReqChannelList) Descriptor() ([]byte, []int)
- func (m *ReqChannelList) GetList() []string
- func (*ReqChannelList) ProtoMessage()
- func (m *ReqChannelList) Reset()
- func (m *ReqChannelList) String() string
- func (m *ReqChannelList) XXX_DiscardUnknown()
- func (m *ReqChannelList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqChannelList) XXX_Merge(src proto.Message)
- func (m *ReqChannelList) XXX_Size() int
- func (m *ReqChannelList) XXX_Unmarshal(b []byte) error
- type ReqChannelTags
- func (*ReqChannelTags) Descriptor() ([]byte, []int)
- func (m *ReqChannelTags) GetOperator() string
- func (m *ReqChannelTags) GetTags() []string
- func (m *ReqChannelTags) GetUid() string
- func (*ReqChannelTags) ProtoMessage()
- func (m *ReqChannelTags) Reset()
- func (m *ReqChannelTags) String() string
- func (m *ReqChannelTags) XXX_DiscardUnknown()
- func (m *ReqChannelTags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqChannelTags) XXX_Merge(src proto.Message)
- func (m *ReqChannelTags) XXX_Size() int
- func (m *ReqChannelTags) XXX_Unmarshal(b []byte) error
- type ReqChannelUpdate
- func (*ReqChannelUpdate) Descriptor() ([]byte, []int)
- func (m *ReqChannelUpdate) GetJob() string
- func (m *ReqChannelUpdate) GetName() string
- func (m *ReqChannelUpdate) GetNickName() string
- func (m *ReqChannelUpdate) GetOperator() string
- func (m *ReqChannelUpdate) GetPhone() string
- func (m *ReqChannelUpdate) GetPortrait() string
- func (m *ReqChannelUpdate) GetRemark() string
- func (m *ReqChannelUpdate) GetUid() string
- func (*ReqChannelUpdate) ProtoMessage()
- func (m *ReqChannelUpdate) Reset()
- func (m *ReqChannelUpdate) String() string
- func (m *ReqChannelUpdate) XXX_DiscardUnknown()
- func (m *ReqChannelUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqChannelUpdate) XXX_Merge(src proto.Message)
- func (m *ReqChannelUpdate) XXX_Size() int
- func (m *ReqChannelUpdate) XXX_Unmarshal(b []byte) error
- type ReqMotionAdd
- func (*ReqMotionAdd) Descriptor() ([]byte, []int)
- func (m *ReqMotionAdd) GetApp() string
- func (m *ReqMotionAdd) GetCount() uint32
- func (m *ReqMotionAdd) GetEvent() string
- func (m *ReqMotionAdd) GetOperator() string
- func (m *ReqMotionAdd) GetScene() string
- func (m *ReqMotionAdd) GetSn() string
- func (*ReqMotionAdd) ProtoMessage()
- func (m *ReqMotionAdd) Reset()
- func (m *ReqMotionAdd) String() string
- func (m *ReqMotionAdd) XXX_DiscardUnknown()
- func (m *ReqMotionAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqMotionAdd) XXX_Merge(src proto.Message)
- func (m *ReqMotionAdd) XXX_Size() int
- func (m *ReqMotionAdd) XXX_Unmarshal(b []byte) error
- type ReqPartnerAdd
- func (*ReqPartnerAdd) Descriptor() ([]byte, []int)
- func (m *ReqPartnerAdd) GetName() string
- func (m *ReqPartnerAdd) GetOperator() string
- func (m *ReqPartnerAdd) GetPhone() string
- func (m *ReqPartnerAdd) GetRemark() string
- func (m *ReqPartnerAdd) GetTags() []string
- func (*ReqPartnerAdd) ProtoMessage()
- func (m *ReqPartnerAdd) Reset()
- func (m *ReqPartnerAdd) String() string
- func (m *ReqPartnerAdd) XXX_DiscardUnknown()
- func (m *ReqPartnerAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqPartnerAdd) XXX_Merge(src proto.Message)
- func (m *ReqPartnerAdd) XXX_Size() int
- func (m *ReqPartnerAdd) XXX_Unmarshal(b []byte) error
- type ReqPartnerList
- func (*ReqPartnerList) Descriptor() ([]byte, []int)
- func (m *ReqPartnerList) GetList() []string
- func (*ReqPartnerList) ProtoMessage()
- func (m *ReqPartnerList) Reset()
- func (m *ReqPartnerList) String() string
- func (m *ReqPartnerList) XXX_DiscardUnknown()
- func (m *ReqPartnerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqPartnerList) XXX_Merge(src proto.Message)
- func (m *ReqPartnerList) XXX_Size() int
- func (m *ReqPartnerList) XXX_Unmarshal(b []byte) error
- type ReqPartnerTags
- func (*ReqPartnerTags) Descriptor() ([]byte, []int)
- func (m *ReqPartnerTags) GetOperator() string
- func (m *ReqPartnerTags) GetTags() []string
- func (m *ReqPartnerTags) GetUid() string
- func (*ReqPartnerTags) ProtoMessage()
- func (m *ReqPartnerTags) Reset()
- func (m *ReqPartnerTags) String() string
- func (m *ReqPartnerTags) XXX_DiscardUnknown()
- func (m *ReqPartnerTags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqPartnerTags) XXX_Merge(src proto.Message)
- func (m *ReqPartnerTags) XXX_Size() int
- func (m *ReqPartnerTags) XXX_Unmarshal(b []byte) error
- type ReqPartnerUpdate
- func (*ReqPartnerUpdate) Descriptor() ([]byte, []int)
- func (m *ReqPartnerUpdate) GetName() string
- func (m *ReqPartnerUpdate) GetOperator() string
- func (m *ReqPartnerUpdate) GetPhone() string
- func (m *ReqPartnerUpdate) GetRemark() string
- func (m *ReqPartnerUpdate) GetUid() string
- func (*ReqPartnerUpdate) ProtoMessage()
- func (m *ReqPartnerUpdate) Reset()
- func (m *ReqPartnerUpdate) String() string
- func (m *ReqPartnerUpdate) XXX_DiscardUnknown()
- func (m *ReqPartnerUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqPartnerUpdate) XXX_Merge(src proto.Message)
- func (m *ReqPartnerUpdate) XXX_Size() int
- func (m *ReqPartnerUpdate) XXX_Unmarshal(b []byte) error
- type RequestFilter
- func (*RequestFilter) Descriptor() ([]byte, []int)
- func (m *RequestFilter) GetField() string
- func (m *RequestFilter) GetList() []string
- func (m *RequestFilter) GetNumber() uint32
- func (m *RequestFilter) GetPage() uint32
- func (m *RequestFilter) GetScene() string
- func (m *RequestFilter) GetValue() string
- func (*RequestFilter) ProtoMessage()
- func (m *RequestFilter) Reset()
- func (m *RequestFilter) String() string
- func (m *RequestFilter) XXX_DiscardUnknown()
- func (m *RequestFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestFilter) XXX_Merge(src proto.Message)
- func (m *RequestFilter) XXX_Size() int
- func (m *RequestFilter) XXX_Unmarshal(b []byte) error
- type RequestIDInfo
- func (*RequestIDInfo) Descriptor() ([]byte, []int)
- func (m *RequestIDInfo) GetId() uint64
- func (m *RequestIDInfo) GetOperator() string
- func (*RequestIDInfo) ProtoMessage()
- func (m *RequestIDInfo) Reset()
- func (m *RequestIDInfo) String() string
- func (m *RequestIDInfo) XXX_DiscardUnknown()
- func (m *RequestIDInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestIDInfo) XXX_Merge(src proto.Message)
- func (m *RequestIDInfo) XXX_Size() int
- func (m *RequestIDInfo) XXX_Unmarshal(b []byte) error
- type RequestInfo
- func (*RequestInfo) Descriptor() ([]byte, []int)
- func (m *RequestInfo) GetOperator() string
- func (m *RequestInfo) GetUid() string
- func (*RequestInfo) ProtoMessage()
- func (m *RequestInfo) Reset()
- func (m *RequestInfo) String() string
- func (m *RequestInfo) XXX_DiscardUnknown()
- func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestInfo) XXX_Merge(src proto.Message)
- func (m *RequestInfo) XXX_Size() int
- func (m *RequestInfo) XXX_Unmarshal(b []byte) error
- type RequestPage
- func (*RequestPage) Descriptor() ([]byte, []int)
- func (m *RequestPage) GetNumber() uint32
- func (m *RequestPage) GetPage() uint32
- func (*RequestPage) ProtoMessage()
- func (m *RequestPage) Reset()
- func (m *RequestPage) String() string
- func (m *RequestPage) XXX_DiscardUnknown()
- func (m *RequestPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestPage) XXX_Merge(src proto.Message)
- func (m *RequestPage) XXX_Size() int
- func (m *RequestPage) XXX_Unmarshal(b []byte) error
- type RequestUpdate
- func (*RequestUpdate) Descriptor() ([]byte, []int)
- func (m *RequestUpdate) GetField() string
- func (m *RequestUpdate) GetList() []string
- func (m *RequestUpdate) GetOperator() string
- func (m *RequestUpdate) GetScene() string
- func (m *RequestUpdate) GetUid() string
- func (m *RequestUpdate) GetValue() string
- func (*RequestUpdate) ProtoMessage()
- func (m *RequestUpdate) Reset()
- func (m *RequestUpdate) String() string
- func (m *RequestUpdate) XXX_DiscardUnknown()
- func (m *RequestUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestUpdate) XXX_Merge(src proto.Message)
- func (m *RequestUpdate) XXX_Size() int
- func (m *RequestUpdate) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterChannelServiceHandler ¶
func RegisterChannelServiceHandler(s server.Server, hdlr ChannelServiceHandler, opts ...server.HandlerOption) error
func RegisterMotionServiceHandler ¶ added in v1.0.2
func RegisterMotionServiceHandler(s server.Server, hdlr MotionServiceHandler, opts ...server.HandlerOption) error
func RegisterPartnerServiceHandler ¶
func RegisterPartnerServiceHandler(s server.Server, hdlr PartnerServiceHandler, opts ...server.HandlerOption) error
Types ¶
type ChannelInfo ¶
type ChannelInfo struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
Created int64 `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
Updated int64 `protobuf:"varint,4,opt,name=updated,proto3" json:"updated,omitempty"`
Creator string `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"`
Operator string `protobuf:"bytes,6,opt,name=operator,proto3" json:"operator,omitempty"`
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"`
Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone,omitempty"`
Secret string `protobuf:"bytes,10,opt,name=secret,proto3" json:"secret,omitempty"`
Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ChannelInfo) Descriptor ¶
func (*ChannelInfo) Descriptor() ([]byte, []int)
func (*ChannelInfo) GetCreated ¶
func (m *ChannelInfo) GetCreated() int64
func (*ChannelInfo) GetCreator ¶
func (m *ChannelInfo) GetCreator() string
func (*ChannelInfo) GetId ¶
func (m *ChannelInfo) GetId() uint64
func (*ChannelInfo) GetName ¶
func (m *ChannelInfo) GetName() string
func (*ChannelInfo) GetOperator ¶
func (m *ChannelInfo) GetOperator() string
func (*ChannelInfo) GetPhone ¶
func (m *ChannelInfo) GetPhone() string
func (*ChannelInfo) GetRemark ¶
func (m *ChannelInfo) GetRemark() string
func (*ChannelInfo) GetSecret ¶
func (m *ChannelInfo) GetSecret() string
func (*ChannelInfo) GetTags ¶
func (m *ChannelInfo) GetTags() []string
func (*ChannelInfo) GetUid ¶
func (m *ChannelInfo) GetUid() string
func (*ChannelInfo) GetUpdated ¶
func (m *ChannelInfo) GetUpdated() int64
func (*ChannelInfo) ProtoMessage ¶
func (*ChannelInfo) ProtoMessage()
func (*ChannelInfo) Reset ¶
func (m *ChannelInfo) Reset()
func (*ChannelInfo) String ¶
func (m *ChannelInfo) String() string
func (*ChannelInfo) XXX_DiscardUnknown ¶
func (m *ChannelInfo) XXX_DiscardUnknown()
func (*ChannelInfo) XXX_Marshal ¶
func (m *ChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelInfo) XXX_Merge ¶
func (m *ChannelInfo) XXX_Merge(src proto.Message)
func (*ChannelInfo) XXX_Size ¶
func (m *ChannelInfo) XXX_Size() int
func (*ChannelInfo) XXX_Unmarshal ¶
func (m *ChannelInfo) XXX_Unmarshal(b []byte) error
type ChannelService ¶
type ChannelService interface {
AddOne(ctx context.Context, in *ReqChannelAdd, opts ...client.CallOption) (*ReplyChannelInfo, error)
UpdateOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyChannelInfo, error)
GetOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyChannelInfo, error)
GetList(ctx context.Context, in *RequestPage, opts ...client.CallOption) (*ReplyChannelList, error)
RemoveOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyInfo, error)
GetByFilter(ctx context.Context, in *RequestFilter, opts ...client.CallOption) (*ReplyChannelList, error)
GetStatistic(ctx context.Context, in *RequestFilter, opts ...client.CallOption) (*ReplyStatistic, error)
UpdateByFilter(ctx context.Context, in *RequestUpdate, opts ...client.CallOption) (*ReplyInfo, error)
}
func NewChannelService ¶
func NewChannelService(name string, c client.Client) ChannelService
type ChannelServiceHandler ¶
type ChannelServiceHandler interface {
AddOne(context.Context, *ReqChannelAdd, *ReplyChannelInfo) error
UpdateOne(context.Context, *RequestInfo, *ReplyChannelInfo) error
GetOne(context.Context, *RequestInfo, *ReplyChannelInfo) error
GetList(context.Context, *RequestPage, *ReplyChannelList) error
RemoveOne(context.Context, *RequestInfo, *ReplyInfo) error
GetByFilter(context.Context, *RequestFilter, *ReplyChannelList) error
GetStatistic(context.Context, *RequestFilter, *ReplyStatistic) error
UpdateByFilter(context.Context, *RequestUpdate, *ReplyInfo) error
}
type MotionInfo ¶ added in v1.0.2
type MotionInfo struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
Type uint32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
Created int64 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
Updated int64 `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"`
Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"`
Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"`
Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
App string `protobuf:"bytes,9,opt,name=app,proto3" json:"app,omitempty"`
Sn string `protobuf:"bytes,10,opt,name=sn,proto3" json:"sn,omitempty"`
User string `protobuf:"bytes,11,opt,name=user,proto3" json:"user,omitempty"`
Event string `protobuf:"bytes,12,opt,name=event,proto3" json:"event,omitempty"`
Scene string `protobuf:"bytes,13,opt,name=scene,proto3" json:"scene,omitempty"`
Count uint32 `protobuf:"varint,14,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MotionInfo) Descriptor ¶ added in v1.0.2
func (*MotionInfo) Descriptor() ([]byte, []int)
func (*MotionInfo) GetApp ¶ added in v1.0.2
func (m *MotionInfo) GetApp() string
func (*MotionInfo) GetCount ¶ added in v1.0.2
func (m *MotionInfo) GetCount() uint32
func (*MotionInfo) GetCreated ¶ added in v1.0.2
func (m *MotionInfo) GetCreated() int64
func (*MotionInfo) GetCreator ¶ added in v1.0.2
func (m *MotionInfo) GetCreator() string
func (*MotionInfo) GetEvent ¶ added in v1.0.2
func (m *MotionInfo) GetEvent() string
func (*MotionInfo) GetId ¶ added in v1.0.2
func (m *MotionInfo) GetId() uint64
func (*MotionInfo) GetName ¶ added in v1.0.2
func (m *MotionInfo) GetName() string
func (*MotionInfo) GetOperator ¶ added in v1.0.2
func (m *MotionInfo) GetOperator() string
func (*MotionInfo) GetScene ¶ added in v1.0.2
func (m *MotionInfo) GetScene() string
func (*MotionInfo) GetSn ¶ added in v1.0.2
func (m *MotionInfo) GetSn() string
func (*MotionInfo) GetType ¶ added in v1.0.2
func (m *MotionInfo) GetType() uint32
func (*MotionInfo) GetUid ¶ added in v1.0.2
func (m *MotionInfo) GetUid() string
func (*MotionInfo) GetUpdated ¶ added in v1.0.2
func (m *MotionInfo) GetUpdated() int64
func (*MotionInfo) GetUser ¶ added in v1.0.2
func (m *MotionInfo) GetUser() string
func (*MotionInfo) ProtoMessage ¶ added in v1.0.2
func (*MotionInfo) ProtoMessage()
func (*MotionInfo) Reset ¶ added in v1.0.2
func (m *MotionInfo) Reset()
func (*MotionInfo) String ¶ added in v1.0.2
func (m *MotionInfo) String() string
func (*MotionInfo) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *MotionInfo) XXX_DiscardUnknown()
func (*MotionInfo) XXX_Marshal ¶ added in v1.0.2
func (m *MotionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MotionInfo) XXX_Merge ¶ added in v1.0.2
func (m *MotionInfo) XXX_Merge(src proto.Message)
func (*MotionInfo) XXX_Size ¶ added in v1.0.2
func (m *MotionInfo) XXX_Size() int
func (*MotionInfo) XXX_Unmarshal ¶ added in v1.0.2
func (m *MotionInfo) XXX_Unmarshal(b []byte) error
type MotionService ¶ added in v1.0.2
type MotionService interface {
AddOne(ctx context.Context, in *ReqMotionAdd, opts ...client.CallOption) (*ReplyMotionInfo, error)
GetOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyMotionInfo, error)
GetByFilter(ctx context.Context, in *RequestFilter, opts ...client.CallOption) (*ReplyMotionList, error)
GetStatistic(ctx context.Context, in *RequestFilter, opts ...client.CallOption) (*ReplyStatistic, error)
UpdateByFilter(ctx context.Context, in *RequestUpdate, opts ...client.CallOption) (*ReplyInfo, error)
RemoveOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyInfo, error)
}
func NewMotionService ¶ added in v1.0.2
func NewMotionService(name string, c client.Client) MotionService
type MotionServiceHandler ¶ added in v1.0.2
type MotionServiceHandler interface {
AddOne(context.Context, *ReqMotionAdd, *ReplyMotionInfo) error
GetOne(context.Context, *RequestInfo, *ReplyMotionInfo) error
GetByFilter(context.Context, *RequestFilter, *ReplyMotionList) error
GetStatistic(context.Context, *RequestFilter, *ReplyStatistic) error
UpdateByFilter(context.Context, *RequestUpdate, *ReplyInfo) error
RemoveOne(context.Context, *RequestInfo, *ReplyInfo) error
}
type PartnerInfo ¶
type PartnerInfo struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
Created int64 `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
Updated int64 `protobuf:"varint,4,opt,name=updated,proto3" json:"updated,omitempty"`
Creator string `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"`
Operator string `protobuf:"bytes,6,opt,name=operator,proto3" json:"operator,omitempty"`
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"`
Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone,omitempty"`
Secret string `protobuf:"bytes,10,opt,name=secret,proto3" json:"secret,omitempty"`
Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PartnerInfo) Descriptor ¶
func (*PartnerInfo) Descriptor() ([]byte, []int)
func (*PartnerInfo) GetCreated ¶
func (m *PartnerInfo) GetCreated() int64
func (*PartnerInfo) GetCreator ¶
func (m *PartnerInfo) GetCreator() string
func (*PartnerInfo) GetId ¶
func (m *PartnerInfo) GetId() uint64
func (*PartnerInfo) GetName ¶
func (m *PartnerInfo) GetName() string
func (*PartnerInfo) GetOperator ¶
func (m *PartnerInfo) GetOperator() string
func (*PartnerInfo) GetPhone ¶
func (m *PartnerInfo) GetPhone() string
func (*PartnerInfo) GetRemark ¶
func (m *PartnerInfo) GetRemark() string
func (*PartnerInfo) GetSecret ¶
func (m *PartnerInfo) GetSecret() string
func (*PartnerInfo) GetTags ¶
func (m *PartnerInfo) GetTags() []string
func (*PartnerInfo) GetUid ¶
func (m *PartnerInfo) GetUid() string
func (*PartnerInfo) GetUpdated ¶
func (m *PartnerInfo) GetUpdated() int64
func (*PartnerInfo) ProtoMessage ¶
func (*PartnerInfo) ProtoMessage()
func (*PartnerInfo) Reset ¶
func (m *PartnerInfo) Reset()
func (*PartnerInfo) String ¶
func (m *PartnerInfo) String() string
func (*PartnerInfo) XXX_DiscardUnknown ¶
func (m *PartnerInfo) XXX_DiscardUnknown()
func (*PartnerInfo) XXX_Marshal ¶
func (m *PartnerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PartnerInfo) XXX_Merge ¶
func (m *PartnerInfo) XXX_Merge(src proto.Message)
func (*PartnerInfo) XXX_Size ¶
func (m *PartnerInfo) XXX_Size() int
func (*PartnerInfo) XXX_Unmarshal ¶
func (m *PartnerInfo) XXX_Unmarshal(b []byte) error
type PartnerService ¶
type PartnerService interface {
AddOne(ctx context.Context, in *ReqPartnerAdd, opts ...client.CallOption) (*ReplyPartnerInfo, error)
GetOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyPartnerInfo, error)
GetList(ctx context.Context, in *RequestPage, opts ...client.CallOption) (*ReplyPartnerList, error)
UpdateOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyPartnerInfo, error)
RemoveOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyInfo, error)
CreateSecret(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyPartnerSecret, error)
GetBySecret(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyPartnerInfo, error)
GetByFilter(ctx context.Context, in *RequestFilter, opts ...client.CallOption) (*ReplyPartnerList, error)
GetStatistic(ctx context.Context, in *RequestFilter, opts ...client.CallOption) (*ReplyStatistic, error)
UpdateByFilter(ctx context.Context, in *RequestUpdate, opts ...client.CallOption) (*ReplyInfo, error)
}
func NewPartnerService ¶
func NewPartnerService(name string, c client.Client) PartnerService
type PartnerServiceHandler ¶
type PartnerServiceHandler interface {
AddOne(context.Context, *ReqPartnerAdd, *ReplyPartnerInfo) error
GetOne(context.Context, *RequestInfo, *ReplyPartnerInfo) error
GetList(context.Context, *RequestPage, *ReplyPartnerList) error
UpdateOne(context.Context, *RequestInfo, *ReplyPartnerInfo) error
RemoveOne(context.Context, *RequestInfo, *ReplyInfo) error
CreateSecret(context.Context, *RequestInfo, *ReplyPartnerSecret) error
GetBySecret(context.Context, *RequestInfo, *ReplyPartnerInfo) error
GetByFilter(context.Context, *RequestFilter, *ReplyPartnerList) error
GetStatistic(context.Context, *RequestFilter, *ReplyStatistic) error
UpdateByFilter(context.Context, *RequestUpdate, *ReplyInfo) error
}
type ReplyChannelInfo ¶
type ReplyChannelInfo struct {
Info *ChannelInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
Status *ReplyStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyChannelInfo) Descriptor ¶
func (*ReplyChannelInfo) Descriptor() ([]byte, []int)
func (*ReplyChannelInfo) GetInfo ¶
func (m *ReplyChannelInfo) GetInfo() *ChannelInfo
func (*ReplyChannelInfo) GetStatus ¶
func (m *ReplyChannelInfo) GetStatus() *ReplyStatus
func (*ReplyChannelInfo) ProtoMessage ¶
func (*ReplyChannelInfo) ProtoMessage()
func (*ReplyChannelInfo) Reset ¶
func (m *ReplyChannelInfo) Reset()
func (*ReplyChannelInfo) String ¶
func (m *ReplyChannelInfo) String() string
func (*ReplyChannelInfo) XXX_DiscardUnknown ¶
func (m *ReplyChannelInfo) XXX_DiscardUnknown()
func (*ReplyChannelInfo) XXX_Marshal ¶
func (m *ReplyChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyChannelInfo) XXX_Merge ¶
func (m *ReplyChannelInfo) XXX_Merge(src proto.Message)
func (*ReplyChannelInfo) XXX_Size ¶
func (m *ReplyChannelInfo) XXX_Size() int
func (*ReplyChannelInfo) XXX_Unmarshal ¶
func (m *ReplyChannelInfo) XXX_Unmarshal(b []byte) error
type ReplyChannelList ¶
type ReplyChannelList struct {
Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
PageMax uint32 `protobuf:"varint,2,opt,name=pageMax,proto3" json:"pageMax,omitempty"`
PageNow uint32 `protobuf:"varint,3,opt,name=pageNow,proto3" json:"pageNow,omitempty"`
List []*ChannelInfo `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
Status *ReplyStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyChannelList) Descriptor ¶
func (*ReplyChannelList) Descriptor() ([]byte, []int)
func (*ReplyChannelList) GetList ¶
func (m *ReplyChannelList) GetList() []*ChannelInfo
func (*ReplyChannelList) GetPageMax ¶
func (m *ReplyChannelList) GetPageMax() uint32
func (*ReplyChannelList) GetPageNow ¶
func (m *ReplyChannelList) GetPageNow() uint32
func (*ReplyChannelList) GetStatus ¶
func (m *ReplyChannelList) GetStatus() *ReplyStatus
func (*ReplyChannelList) GetTotal ¶
func (m *ReplyChannelList) GetTotal() uint64
func (*ReplyChannelList) ProtoMessage ¶
func (*ReplyChannelList) ProtoMessage()
func (*ReplyChannelList) Reset ¶
func (m *ReplyChannelList) Reset()
func (*ReplyChannelList) String ¶
func (m *ReplyChannelList) String() string
func (*ReplyChannelList) XXX_DiscardUnknown ¶
func (m *ReplyChannelList) XXX_DiscardUnknown()
func (*ReplyChannelList) XXX_Marshal ¶
func (m *ReplyChannelList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyChannelList) XXX_Merge ¶
func (m *ReplyChannelList) XXX_Merge(src proto.Message)
func (*ReplyChannelList) XXX_Size ¶
func (m *ReplyChannelList) XXX_Size() int
func (*ReplyChannelList) XXX_Unmarshal ¶
func (m *ReplyChannelList) XXX_Unmarshal(b []byte) error
type ReplyInfo ¶
type ReplyInfo struct {
Status *ReplyStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyInfo) Descriptor ¶
func (*ReplyInfo) GetStatus ¶
func (m *ReplyInfo) GetStatus() *ReplyStatus
func (*ReplyInfo) ProtoMessage ¶
func (*ReplyInfo) ProtoMessage()
func (*ReplyInfo) XXX_DiscardUnknown ¶
func (m *ReplyInfo) XXX_DiscardUnknown()
func (*ReplyInfo) XXX_Marshal ¶
func (*ReplyInfo) XXX_Unmarshal ¶
type ReplyMotionInfo ¶ added in v1.0.2
type ReplyMotionInfo struct {
Status *ReplyStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Info *MotionInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyMotionInfo) Descriptor ¶ added in v1.0.2
func (*ReplyMotionInfo) Descriptor() ([]byte, []int)
func (*ReplyMotionInfo) GetInfo ¶ added in v1.0.2
func (m *ReplyMotionInfo) GetInfo() *MotionInfo
func (*ReplyMotionInfo) GetStatus ¶ added in v1.0.2
func (m *ReplyMotionInfo) GetStatus() *ReplyStatus
func (*ReplyMotionInfo) ProtoMessage ¶ added in v1.0.2
func (*ReplyMotionInfo) ProtoMessage()
func (*ReplyMotionInfo) Reset ¶ added in v1.0.2
func (m *ReplyMotionInfo) Reset()
func (*ReplyMotionInfo) String ¶ added in v1.0.2
func (m *ReplyMotionInfo) String() string
func (*ReplyMotionInfo) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *ReplyMotionInfo) XXX_DiscardUnknown()
func (*ReplyMotionInfo) XXX_Marshal ¶ added in v1.0.2
func (m *ReplyMotionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyMotionInfo) XXX_Merge ¶ added in v1.0.2
func (m *ReplyMotionInfo) XXX_Merge(src proto.Message)
func (*ReplyMotionInfo) XXX_Size ¶ added in v1.0.2
func (m *ReplyMotionInfo) XXX_Size() int
func (*ReplyMotionInfo) XXX_Unmarshal ¶ added in v1.0.2
func (m *ReplyMotionInfo) XXX_Unmarshal(b []byte) error
type ReplyMotionList ¶ added in v1.0.2
type ReplyMotionList struct {
Status *ReplyStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
Pages uint32 `protobuf:"varint,3,opt,name=pages,proto3" json:"pages,omitempty"`
Page uint32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
Number uint32 `protobuf:"varint,5,opt,name=number,proto3" json:"number,omitempty"`
List []*MotionInfo `protobuf:"bytes,16,rep,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyMotionList) Descriptor ¶ added in v1.0.2
func (*ReplyMotionList) Descriptor() ([]byte, []int)
func (*ReplyMotionList) GetList ¶ added in v1.0.2
func (m *ReplyMotionList) GetList() []*MotionInfo
func (*ReplyMotionList) GetNumber ¶ added in v1.0.2
func (m *ReplyMotionList) GetNumber() uint32
func (*ReplyMotionList) GetPage ¶ added in v1.0.2
func (m *ReplyMotionList) GetPage() uint32
func (*ReplyMotionList) GetPages ¶ added in v1.0.2
func (m *ReplyMotionList) GetPages() uint32
func (*ReplyMotionList) GetStatus ¶ added in v1.0.2
func (m *ReplyMotionList) GetStatus() *ReplyStatus
func (*ReplyMotionList) GetTotal ¶ added in v1.0.2
func (m *ReplyMotionList) GetTotal() uint32
func (*ReplyMotionList) ProtoMessage ¶ added in v1.0.2
func (*ReplyMotionList) ProtoMessage()
func (*ReplyMotionList) Reset ¶ added in v1.0.2
func (m *ReplyMotionList) Reset()
func (*ReplyMotionList) String ¶ added in v1.0.2
func (m *ReplyMotionList) String() string
func (*ReplyMotionList) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *ReplyMotionList) XXX_DiscardUnknown()
func (*ReplyMotionList) XXX_Marshal ¶ added in v1.0.2
func (m *ReplyMotionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyMotionList) XXX_Merge ¶ added in v1.0.2
func (m *ReplyMotionList) XXX_Merge(src proto.Message)
func (*ReplyMotionList) XXX_Size ¶ added in v1.0.2
func (m *ReplyMotionList) XXX_Size() int
func (*ReplyMotionList) XXX_Unmarshal ¶ added in v1.0.2
func (m *ReplyMotionList) XXX_Unmarshal(b []byte) error
type ReplyPartnerInfo ¶
type ReplyPartnerInfo struct {
Info *PartnerInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
Status *ReplyStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyPartnerInfo) Descriptor ¶
func (*ReplyPartnerInfo) Descriptor() ([]byte, []int)
func (*ReplyPartnerInfo) GetInfo ¶
func (m *ReplyPartnerInfo) GetInfo() *PartnerInfo
func (*ReplyPartnerInfo) GetStatus ¶
func (m *ReplyPartnerInfo) GetStatus() *ReplyStatus
func (*ReplyPartnerInfo) ProtoMessage ¶
func (*ReplyPartnerInfo) ProtoMessage()
func (*ReplyPartnerInfo) Reset ¶
func (m *ReplyPartnerInfo) Reset()
func (*ReplyPartnerInfo) String ¶
func (m *ReplyPartnerInfo) String() string
func (*ReplyPartnerInfo) XXX_DiscardUnknown ¶
func (m *ReplyPartnerInfo) XXX_DiscardUnknown()
func (*ReplyPartnerInfo) XXX_Marshal ¶
func (m *ReplyPartnerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyPartnerInfo) XXX_Merge ¶
func (m *ReplyPartnerInfo) XXX_Merge(src proto.Message)
func (*ReplyPartnerInfo) XXX_Size ¶
func (m *ReplyPartnerInfo) XXX_Size() int
func (*ReplyPartnerInfo) XXX_Unmarshal ¶
func (m *ReplyPartnerInfo) XXX_Unmarshal(b []byte) error
type ReplyPartnerList ¶
type ReplyPartnerList struct {
Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
PageMax uint32 `protobuf:"varint,2,opt,name=pageMax,proto3" json:"pageMax,omitempty"`
PageNow uint32 `protobuf:"varint,3,opt,name=pageNow,proto3" json:"pageNow,omitempty"`
List []*PartnerInfo `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
Status *ReplyStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyPartnerList) Descriptor ¶
func (*ReplyPartnerList) Descriptor() ([]byte, []int)
func (*ReplyPartnerList) GetList ¶
func (m *ReplyPartnerList) GetList() []*PartnerInfo
func (*ReplyPartnerList) GetPageMax ¶
func (m *ReplyPartnerList) GetPageMax() uint32
func (*ReplyPartnerList) GetPageNow ¶
func (m *ReplyPartnerList) GetPageNow() uint32
func (*ReplyPartnerList) GetStatus ¶
func (m *ReplyPartnerList) GetStatus() *ReplyStatus
func (*ReplyPartnerList) GetTotal ¶
func (m *ReplyPartnerList) GetTotal() uint64
func (*ReplyPartnerList) ProtoMessage ¶
func (*ReplyPartnerList) ProtoMessage()
func (*ReplyPartnerList) Reset ¶
func (m *ReplyPartnerList) Reset()
func (*ReplyPartnerList) String ¶
func (m *ReplyPartnerList) String() string
func (*ReplyPartnerList) XXX_DiscardUnknown ¶
func (m *ReplyPartnerList) XXX_DiscardUnknown()
func (*ReplyPartnerList) XXX_Marshal ¶
func (m *ReplyPartnerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyPartnerList) XXX_Merge ¶
func (m *ReplyPartnerList) XXX_Merge(src proto.Message)
func (*ReplyPartnerList) XXX_Size ¶
func (m *ReplyPartnerList) XXX_Size() int
func (*ReplyPartnerList) XXX_Unmarshal ¶
func (m *ReplyPartnerList) XXX_Unmarshal(b []byte) error
type ReplyPartnerSecret ¶
type ReplyPartnerSecret struct {
Status *ReplyStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyPartnerSecret) Descriptor ¶
func (*ReplyPartnerSecret) Descriptor() ([]byte, []int)
func (*ReplyPartnerSecret) GetSecret ¶
func (m *ReplyPartnerSecret) GetSecret() string
func (*ReplyPartnerSecret) GetStatus ¶
func (m *ReplyPartnerSecret) GetStatus() *ReplyStatus
func (*ReplyPartnerSecret) GetUid ¶
func (m *ReplyPartnerSecret) GetUid() string
func (*ReplyPartnerSecret) ProtoMessage ¶
func (*ReplyPartnerSecret) ProtoMessage()
func (*ReplyPartnerSecret) Reset ¶
func (m *ReplyPartnerSecret) Reset()
func (*ReplyPartnerSecret) String ¶
func (m *ReplyPartnerSecret) String() string
func (*ReplyPartnerSecret) XXX_DiscardUnknown ¶
func (m *ReplyPartnerSecret) XXX_DiscardUnknown()
func (*ReplyPartnerSecret) XXX_Marshal ¶
func (m *ReplyPartnerSecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyPartnerSecret) XXX_Merge ¶
func (m *ReplyPartnerSecret) XXX_Merge(src proto.Message)
func (*ReplyPartnerSecret) XXX_Size ¶
func (m *ReplyPartnerSecret) XXX_Size() int
func (*ReplyPartnerSecret) XXX_Unmarshal ¶
func (m *ReplyPartnerSecret) XXX_Unmarshal(b []byte) error
type ReplyStatistic ¶ added in v1.0.2
type ReplyStatistic struct {
Status *ReplyStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyStatistic) Descriptor ¶ added in v1.0.2
func (*ReplyStatistic) Descriptor() ([]byte, []int)
func (*ReplyStatistic) GetCount ¶ added in v1.0.2
func (m *ReplyStatistic) GetCount() uint32
func (*ReplyStatistic) GetKey ¶ added in v1.0.2
func (m *ReplyStatistic) GetKey() string
func (*ReplyStatistic) GetOwner ¶ added in v1.0.2
func (m *ReplyStatistic) GetOwner() string
func (*ReplyStatistic) GetStatus ¶ added in v1.0.2
func (m *ReplyStatistic) GetStatus() *ReplyStatus
func (*ReplyStatistic) ProtoMessage ¶ added in v1.0.2
func (*ReplyStatistic) ProtoMessage()
func (*ReplyStatistic) Reset ¶ added in v1.0.2
func (m *ReplyStatistic) Reset()
func (*ReplyStatistic) String ¶ added in v1.0.2
func (m *ReplyStatistic) String() string
func (*ReplyStatistic) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *ReplyStatistic) XXX_DiscardUnknown()
func (*ReplyStatistic) XXX_Marshal ¶ added in v1.0.2
func (m *ReplyStatistic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyStatistic) XXX_Merge ¶ added in v1.0.2
func (m *ReplyStatistic) XXX_Merge(src proto.Message)
func (*ReplyStatistic) XXX_Size ¶ added in v1.0.2
func (m *ReplyStatistic) XXX_Size() int
func (*ReplyStatistic) XXX_Unmarshal ¶ added in v1.0.2
func (m *ReplyStatistic) XXX_Unmarshal(b []byte) error
type ReplyStatus ¶
type ReplyStatus struct {
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReplyStatus) Descriptor ¶
func (*ReplyStatus) Descriptor() ([]byte, []int)
func (*ReplyStatus) GetCode ¶
func (m *ReplyStatus) GetCode() uint32
func (*ReplyStatus) GetMsg ¶
func (m *ReplyStatus) GetMsg() string
func (*ReplyStatus) ProtoMessage ¶
func (*ReplyStatus) ProtoMessage()
func (*ReplyStatus) Reset ¶
func (m *ReplyStatus) Reset()
func (*ReplyStatus) String ¶
func (m *ReplyStatus) String() string
func (*ReplyStatus) XXX_DiscardUnknown ¶
func (m *ReplyStatus) XXX_DiscardUnknown()
func (*ReplyStatus) XXX_Marshal ¶
func (m *ReplyStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyStatus) XXX_Merge ¶
func (m *ReplyStatus) XXX_Merge(src proto.Message)
func (*ReplyStatus) XXX_Size ¶
func (m *ReplyStatus) XXX_Size() int
func (*ReplyStatus) XXX_Unmarshal ¶
func (m *ReplyStatus) XXX_Unmarshal(b []byte) error
type ReqChannelAdd ¶
type ReqChannelAdd struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"`
Remark string `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty"`
Operator string `protobuf:"bytes,8,opt,name=operator,proto3" json:"operator,omitempty"`
Passwords string `protobuf:"bytes,9,opt,name=passwords,proto3" json:"passwords,omitempty"`
Entity string `protobuf:"bytes,10,opt,name=entity,proto3" json:"entity,omitempty"`
Portrait string `protobuf:"bytes,11,opt,name=portrait,proto3" json:"portrait,omitempty"`
Tags []string `protobuf:"bytes,13,rep,name=tags,proto3" json:"tags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqChannelAdd) Descriptor ¶
func (*ReqChannelAdd) Descriptor() ([]byte, []int)
func (*ReqChannelAdd) GetEntity ¶
func (m *ReqChannelAdd) GetEntity() string
func (*ReqChannelAdd) GetName ¶
func (m *ReqChannelAdd) GetName() string
func (*ReqChannelAdd) GetOperator ¶
func (m *ReqChannelAdd) GetOperator() string
func (*ReqChannelAdd) GetPasswords ¶
func (m *ReqChannelAdd) GetPasswords() string
func (*ReqChannelAdd) GetPhone ¶
func (m *ReqChannelAdd) GetPhone() string
func (*ReqChannelAdd) GetPortrait ¶
func (m *ReqChannelAdd) GetPortrait() string
func (*ReqChannelAdd) GetRemark ¶
func (m *ReqChannelAdd) GetRemark() string
func (*ReqChannelAdd) GetTags ¶
func (m *ReqChannelAdd) GetTags() []string
func (*ReqChannelAdd) ProtoMessage ¶
func (*ReqChannelAdd) ProtoMessage()
func (*ReqChannelAdd) Reset ¶
func (m *ReqChannelAdd) Reset()
func (*ReqChannelAdd) String ¶
func (m *ReqChannelAdd) String() string
func (*ReqChannelAdd) XXX_DiscardUnknown ¶
func (m *ReqChannelAdd) XXX_DiscardUnknown()
func (*ReqChannelAdd) XXX_Marshal ¶
func (m *ReqChannelAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqChannelAdd) XXX_Merge ¶
func (m *ReqChannelAdd) XXX_Merge(src proto.Message)
func (*ReqChannelAdd) XXX_Size ¶
func (m *ReqChannelAdd) XXX_Size() int
func (*ReqChannelAdd) XXX_Unmarshal ¶
func (m *ReqChannelAdd) XXX_Unmarshal(b []byte) error
type ReqChannelList ¶
type ReqChannelList struct {
List []string `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqChannelList) Descriptor ¶
func (*ReqChannelList) Descriptor() ([]byte, []int)
func (*ReqChannelList) GetList ¶
func (m *ReqChannelList) GetList() []string
func (*ReqChannelList) ProtoMessage ¶
func (*ReqChannelList) ProtoMessage()
func (*ReqChannelList) Reset ¶
func (m *ReqChannelList) Reset()
func (*ReqChannelList) String ¶
func (m *ReqChannelList) String() string
func (*ReqChannelList) XXX_DiscardUnknown ¶
func (m *ReqChannelList) XXX_DiscardUnknown()
func (*ReqChannelList) XXX_Marshal ¶
func (m *ReqChannelList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqChannelList) XXX_Merge ¶
func (m *ReqChannelList) XXX_Merge(src proto.Message)
func (*ReqChannelList) XXX_Size ¶
func (m *ReqChannelList) XXX_Size() int
func (*ReqChannelList) XXX_Unmarshal ¶
func (m *ReqChannelList) XXX_Unmarshal(b []byte) error
type ReqChannelTags ¶
type ReqChannelTags struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqChannelTags) Descriptor ¶
func (*ReqChannelTags) Descriptor() ([]byte, []int)
func (*ReqChannelTags) GetOperator ¶
func (m *ReqChannelTags) GetOperator() string
func (*ReqChannelTags) GetTags ¶
func (m *ReqChannelTags) GetTags() []string
func (*ReqChannelTags) GetUid ¶
func (m *ReqChannelTags) GetUid() string
func (*ReqChannelTags) ProtoMessage ¶
func (*ReqChannelTags) ProtoMessage()
func (*ReqChannelTags) Reset ¶
func (m *ReqChannelTags) Reset()
func (*ReqChannelTags) String ¶
func (m *ReqChannelTags) String() string
func (*ReqChannelTags) XXX_DiscardUnknown ¶
func (m *ReqChannelTags) XXX_DiscardUnknown()
func (*ReqChannelTags) XXX_Marshal ¶
func (m *ReqChannelTags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqChannelTags) XXX_Merge ¶
func (m *ReqChannelTags) XXX_Merge(src proto.Message)
func (*ReqChannelTags) XXX_Size ¶
func (m *ReqChannelTags) XXX_Size() int
func (*ReqChannelTags) XXX_Unmarshal ¶
func (m *ReqChannelTags) XXX_Unmarshal(b []byte) error
type ReqChannelUpdate ¶
type ReqChannelUpdate struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
NickName string `protobuf:"bytes,3,opt,name=nickName,proto3" json:"nickName,omitempty"`
Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
Job string `protobuf:"bytes,5,opt,name=job,proto3" json:"job,omitempty"`
Remark string `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty"`
Operator string `protobuf:"bytes,8,opt,name=operator,proto3" json:"operator,omitempty"`
Portrait string `protobuf:"bytes,9,opt,name=portrait,proto3" json:"portrait,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqChannelUpdate) Descriptor ¶
func (*ReqChannelUpdate) Descriptor() ([]byte, []int)
func (*ReqChannelUpdate) GetJob ¶
func (m *ReqChannelUpdate) GetJob() string
func (*ReqChannelUpdate) GetName ¶
func (m *ReqChannelUpdate) GetName() string
func (*ReqChannelUpdate) GetNickName ¶
func (m *ReqChannelUpdate) GetNickName() string
func (*ReqChannelUpdate) GetOperator ¶
func (m *ReqChannelUpdate) GetOperator() string
func (*ReqChannelUpdate) GetPhone ¶
func (m *ReqChannelUpdate) GetPhone() string
func (*ReqChannelUpdate) GetPortrait ¶
func (m *ReqChannelUpdate) GetPortrait() string
func (*ReqChannelUpdate) GetRemark ¶
func (m *ReqChannelUpdate) GetRemark() string
func (*ReqChannelUpdate) GetUid ¶
func (m *ReqChannelUpdate) GetUid() string
func (*ReqChannelUpdate) ProtoMessage ¶
func (*ReqChannelUpdate) ProtoMessage()
func (*ReqChannelUpdate) Reset ¶
func (m *ReqChannelUpdate) Reset()
func (*ReqChannelUpdate) String ¶
func (m *ReqChannelUpdate) String() string
func (*ReqChannelUpdate) XXX_DiscardUnknown ¶
func (m *ReqChannelUpdate) XXX_DiscardUnknown()
func (*ReqChannelUpdate) XXX_Marshal ¶
func (m *ReqChannelUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqChannelUpdate) XXX_Merge ¶
func (m *ReqChannelUpdate) XXX_Merge(src proto.Message)
func (*ReqChannelUpdate) XXX_Size ¶
func (m *ReqChannelUpdate) XXX_Size() int
func (*ReqChannelUpdate) XXX_Unmarshal ¶
func (m *ReqChannelUpdate) XXX_Unmarshal(b []byte) error
type ReqMotionAdd ¶ added in v1.0.2
type ReqMotionAdd struct {
App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
Sn string `protobuf:"bytes,2,opt,name=sn,proto3" json:"sn,omitempty"`
Event string `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"`
Scene string `protobuf:"bytes,4,opt,name=scene,proto3" json:"scene,omitempty"`
Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"`
Count uint32 `protobuf:"varint,6,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqMotionAdd) Descriptor ¶ added in v1.0.2
func (*ReqMotionAdd) Descriptor() ([]byte, []int)
func (*ReqMotionAdd) GetApp ¶ added in v1.0.2
func (m *ReqMotionAdd) GetApp() string
func (*ReqMotionAdd) GetCount ¶ added in v1.0.2
func (m *ReqMotionAdd) GetCount() uint32
func (*ReqMotionAdd) GetEvent ¶ added in v1.0.2
func (m *ReqMotionAdd) GetEvent() string
func (*ReqMotionAdd) GetOperator ¶ added in v1.0.2
func (m *ReqMotionAdd) GetOperator() string
func (*ReqMotionAdd) GetScene ¶ added in v1.0.2
func (m *ReqMotionAdd) GetScene() string
func (*ReqMotionAdd) GetSn ¶ added in v1.0.2
func (m *ReqMotionAdd) GetSn() string
func (*ReqMotionAdd) ProtoMessage ¶ added in v1.0.2
func (*ReqMotionAdd) ProtoMessage()
func (*ReqMotionAdd) Reset ¶ added in v1.0.2
func (m *ReqMotionAdd) Reset()
func (*ReqMotionAdd) String ¶ added in v1.0.2
func (m *ReqMotionAdd) String() string
func (*ReqMotionAdd) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *ReqMotionAdd) XXX_DiscardUnknown()
func (*ReqMotionAdd) XXX_Marshal ¶ added in v1.0.2
func (m *ReqMotionAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqMotionAdd) XXX_Merge ¶ added in v1.0.2
func (m *ReqMotionAdd) XXX_Merge(src proto.Message)
func (*ReqMotionAdd) XXX_Size ¶ added in v1.0.2
func (m *ReqMotionAdd) XXX_Size() int
func (*ReqMotionAdd) XXX_Unmarshal ¶ added in v1.0.2
func (m *ReqMotionAdd) XXX_Unmarshal(b []byte) error
type ReqPartnerAdd ¶
type ReqPartnerAdd struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"`
Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"`
Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqPartnerAdd) Descriptor ¶
func (*ReqPartnerAdd) Descriptor() ([]byte, []int)
func (*ReqPartnerAdd) GetName ¶
func (m *ReqPartnerAdd) GetName() string
func (*ReqPartnerAdd) GetOperator ¶
func (m *ReqPartnerAdd) GetOperator() string
func (*ReqPartnerAdd) GetPhone ¶
func (m *ReqPartnerAdd) GetPhone() string
func (*ReqPartnerAdd) GetRemark ¶
func (m *ReqPartnerAdd) GetRemark() string
func (*ReqPartnerAdd) GetTags ¶
func (m *ReqPartnerAdd) GetTags() []string
func (*ReqPartnerAdd) ProtoMessage ¶
func (*ReqPartnerAdd) ProtoMessage()
func (*ReqPartnerAdd) Reset ¶
func (m *ReqPartnerAdd) Reset()
func (*ReqPartnerAdd) String ¶
func (m *ReqPartnerAdd) String() string
func (*ReqPartnerAdd) XXX_DiscardUnknown ¶
func (m *ReqPartnerAdd) XXX_DiscardUnknown()
func (*ReqPartnerAdd) XXX_Marshal ¶
func (m *ReqPartnerAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqPartnerAdd) XXX_Merge ¶
func (m *ReqPartnerAdd) XXX_Merge(src proto.Message)
func (*ReqPartnerAdd) XXX_Size ¶
func (m *ReqPartnerAdd) XXX_Size() int
func (*ReqPartnerAdd) XXX_Unmarshal ¶
func (m *ReqPartnerAdd) XXX_Unmarshal(b []byte) error
type ReqPartnerList ¶
type ReqPartnerList struct {
List []string `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqPartnerList) Descriptor ¶
func (*ReqPartnerList) Descriptor() ([]byte, []int)
func (*ReqPartnerList) GetList ¶
func (m *ReqPartnerList) GetList() []string
func (*ReqPartnerList) ProtoMessage ¶
func (*ReqPartnerList) ProtoMessage()
func (*ReqPartnerList) Reset ¶
func (m *ReqPartnerList) Reset()
func (*ReqPartnerList) String ¶
func (m *ReqPartnerList) String() string
func (*ReqPartnerList) XXX_DiscardUnknown ¶
func (m *ReqPartnerList) XXX_DiscardUnknown()
func (*ReqPartnerList) XXX_Marshal ¶
func (m *ReqPartnerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqPartnerList) XXX_Merge ¶
func (m *ReqPartnerList) XXX_Merge(src proto.Message)
func (*ReqPartnerList) XXX_Size ¶
func (m *ReqPartnerList) XXX_Size() int
func (*ReqPartnerList) XXX_Unmarshal ¶
func (m *ReqPartnerList) XXX_Unmarshal(b []byte) error
type ReqPartnerTags ¶
type ReqPartnerTags struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqPartnerTags) Descriptor ¶
func (*ReqPartnerTags) Descriptor() ([]byte, []int)
func (*ReqPartnerTags) GetOperator ¶
func (m *ReqPartnerTags) GetOperator() string
func (*ReqPartnerTags) GetTags ¶
func (m *ReqPartnerTags) GetTags() []string
func (*ReqPartnerTags) GetUid ¶
func (m *ReqPartnerTags) GetUid() string
func (*ReqPartnerTags) ProtoMessage ¶
func (*ReqPartnerTags) ProtoMessage()
func (*ReqPartnerTags) Reset ¶
func (m *ReqPartnerTags) Reset()
func (*ReqPartnerTags) String ¶
func (m *ReqPartnerTags) String() string
func (*ReqPartnerTags) XXX_DiscardUnknown ¶
func (m *ReqPartnerTags) XXX_DiscardUnknown()
func (*ReqPartnerTags) XXX_Marshal ¶
func (m *ReqPartnerTags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqPartnerTags) XXX_Merge ¶
func (m *ReqPartnerTags) XXX_Merge(src proto.Message)
func (*ReqPartnerTags) XXX_Size ¶
func (m *ReqPartnerTags) XXX_Size() int
func (*ReqPartnerTags) XXX_Unmarshal ¶
func (m *ReqPartnerTags) XXX_Unmarshal(b []byte) error
type ReqPartnerUpdate ¶
type ReqPartnerUpdate struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"`
Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
Operator string `protobuf:"bytes,8,opt,name=operator,proto3" json:"operator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqPartnerUpdate) Descriptor ¶
func (*ReqPartnerUpdate) Descriptor() ([]byte, []int)
func (*ReqPartnerUpdate) GetName ¶
func (m *ReqPartnerUpdate) GetName() string
func (*ReqPartnerUpdate) GetOperator ¶
func (m *ReqPartnerUpdate) GetOperator() string
func (*ReqPartnerUpdate) GetPhone ¶
func (m *ReqPartnerUpdate) GetPhone() string
func (*ReqPartnerUpdate) GetRemark ¶
func (m *ReqPartnerUpdate) GetRemark() string
func (*ReqPartnerUpdate) GetUid ¶
func (m *ReqPartnerUpdate) GetUid() string
func (*ReqPartnerUpdate) ProtoMessage ¶
func (*ReqPartnerUpdate) ProtoMessage()
func (*ReqPartnerUpdate) Reset ¶
func (m *ReqPartnerUpdate) Reset()
func (*ReqPartnerUpdate) String ¶
func (m *ReqPartnerUpdate) String() string
func (*ReqPartnerUpdate) XXX_DiscardUnknown ¶
func (m *ReqPartnerUpdate) XXX_DiscardUnknown()
func (*ReqPartnerUpdate) XXX_Marshal ¶
func (m *ReqPartnerUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqPartnerUpdate) XXX_Merge ¶
func (m *ReqPartnerUpdate) XXX_Merge(src proto.Message)
func (*ReqPartnerUpdate) XXX_Size ¶
func (m *ReqPartnerUpdate) XXX_Size() int
func (*ReqPartnerUpdate) XXX_Unmarshal ¶
func (m *ReqPartnerUpdate) XXX_Unmarshal(b []byte) error
type RequestFilter ¶ added in v1.0.2
type RequestFilter struct {
Scene string `protobuf:"bytes,1,opt,name=scene,proto3" json:"scene,omitempty"`
Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
Page uint32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
Number uint32 `protobuf:"varint,5,opt,name=number,proto3" json:"number,omitempty"`
List []string `protobuf:"bytes,7,rep,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RequestFilter) Descriptor ¶ added in v1.0.2
func (*RequestFilter) Descriptor() ([]byte, []int)
func (*RequestFilter) GetField ¶ added in v1.0.2
func (m *RequestFilter) GetField() string
func (*RequestFilter) GetList ¶ added in v1.0.2
func (m *RequestFilter) GetList() []string
func (*RequestFilter) GetNumber ¶ added in v1.0.2
func (m *RequestFilter) GetNumber() uint32
func (*RequestFilter) GetPage ¶ added in v1.0.2
func (m *RequestFilter) GetPage() uint32
func (*RequestFilter) GetScene ¶ added in v1.0.2
func (m *RequestFilter) GetScene() string
func (*RequestFilter) GetValue ¶ added in v1.0.2
func (m *RequestFilter) GetValue() string
func (*RequestFilter) ProtoMessage ¶ added in v1.0.2
func (*RequestFilter) ProtoMessage()
func (*RequestFilter) Reset ¶ added in v1.0.2
func (m *RequestFilter) Reset()
func (*RequestFilter) String ¶ added in v1.0.2
func (m *RequestFilter) String() string
func (*RequestFilter) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *RequestFilter) XXX_DiscardUnknown()
func (*RequestFilter) XXX_Marshal ¶ added in v1.0.2
func (m *RequestFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestFilter) XXX_Merge ¶ added in v1.0.2
func (m *RequestFilter) XXX_Merge(src proto.Message)
func (*RequestFilter) XXX_Size ¶ added in v1.0.2
func (m *RequestFilter) XXX_Size() int
func (*RequestFilter) XXX_Unmarshal ¶ added in v1.0.2
func (m *RequestFilter) XXX_Unmarshal(b []byte) error
type RequestIDInfo ¶
type RequestIDInfo struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RequestIDInfo) Descriptor ¶
func (*RequestIDInfo) Descriptor() ([]byte, []int)
func (*RequestIDInfo) GetId ¶
func (m *RequestIDInfo) GetId() uint64
func (*RequestIDInfo) GetOperator ¶
func (m *RequestIDInfo) GetOperator() string
func (*RequestIDInfo) ProtoMessage ¶
func (*RequestIDInfo) ProtoMessage()
func (*RequestIDInfo) Reset ¶
func (m *RequestIDInfo) Reset()
func (*RequestIDInfo) String ¶
func (m *RequestIDInfo) String() string
func (*RequestIDInfo) XXX_DiscardUnknown ¶
func (m *RequestIDInfo) XXX_DiscardUnknown()
func (*RequestIDInfo) XXX_Marshal ¶
func (m *RequestIDInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestIDInfo) XXX_Merge ¶
func (m *RequestIDInfo) XXX_Merge(src proto.Message)
func (*RequestIDInfo) XXX_Size ¶
func (m *RequestIDInfo) XXX_Size() int
func (*RequestIDInfo) XXX_Unmarshal ¶
func (m *RequestIDInfo) XXX_Unmarshal(b []byte) error
type RequestInfo ¶
type RequestInfo struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RequestInfo) Descriptor ¶
func (*RequestInfo) Descriptor() ([]byte, []int)
func (*RequestInfo) GetOperator ¶
func (m *RequestInfo) GetOperator() string
func (*RequestInfo) GetUid ¶
func (m *RequestInfo) GetUid() string
func (*RequestInfo) ProtoMessage ¶
func (*RequestInfo) ProtoMessage()
func (*RequestInfo) Reset ¶
func (m *RequestInfo) Reset()
func (*RequestInfo) String ¶
func (m *RequestInfo) String() string
func (*RequestInfo) XXX_DiscardUnknown ¶
func (m *RequestInfo) XXX_DiscardUnknown()
func (*RequestInfo) XXX_Marshal ¶
func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestInfo) XXX_Merge ¶
func (m *RequestInfo) XXX_Merge(src proto.Message)
func (*RequestInfo) XXX_Size ¶
func (m *RequestInfo) XXX_Size() int
func (*RequestInfo) XXX_Unmarshal ¶
func (m *RequestInfo) XXX_Unmarshal(b []byte) error
type RequestPage ¶
type RequestPage struct {
Number uint32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
Page uint32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RequestPage) Descriptor ¶
func (*RequestPage) Descriptor() ([]byte, []int)
func (*RequestPage) GetNumber ¶
func (m *RequestPage) GetNumber() uint32
func (*RequestPage) GetPage ¶
func (m *RequestPage) GetPage() uint32
func (*RequestPage) ProtoMessage ¶
func (*RequestPage) ProtoMessage()
func (*RequestPage) Reset ¶
func (m *RequestPage) Reset()
func (*RequestPage) String ¶
func (m *RequestPage) String() string
func (*RequestPage) XXX_DiscardUnknown ¶
func (m *RequestPage) XXX_DiscardUnknown()
func (*RequestPage) XXX_Marshal ¶
func (m *RequestPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestPage) XXX_Merge ¶
func (m *RequestPage) XXX_Merge(src proto.Message)
func (*RequestPage) XXX_Size ¶
func (m *RequestPage) XXX_Size() int
func (*RequestPage) XXX_Unmarshal ¶
func (m *RequestPage) XXX_Unmarshal(b []byte) error
type RequestUpdate ¶ added in v1.0.2
type RequestUpdate struct {
Scene string `protobuf:"bytes,1,opt,name=scene,proto3" json:"scene,omitempty"`
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"`
List []string `protobuf:"bytes,20,rep,name=list,proto3" json:"list,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RequestUpdate) Descriptor ¶ added in v1.0.2
func (*RequestUpdate) Descriptor() ([]byte, []int)
func (*RequestUpdate) GetField ¶ added in v1.0.2
func (m *RequestUpdate) GetField() string
func (*RequestUpdate) GetList ¶ added in v1.0.2
func (m *RequestUpdate) GetList() []string
func (*RequestUpdate) GetOperator ¶ added in v1.0.2
func (m *RequestUpdate) GetOperator() string
func (*RequestUpdate) GetScene ¶ added in v1.0.2
func (m *RequestUpdate) GetScene() string
func (*RequestUpdate) GetUid ¶ added in v1.0.2
func (m *RequestUpdate) GetUid() string
func (*RequestUpdate) GetValue ¶ added in v1.0.2
func (m *RequestUpdate) GetValue() string
func (*RequestUpdate) ProtoMessage ¶ added in v1.0.2
func (*RequestUpdate) ProtoMessage()
func (*RequestUpdate) Reset ¶ added in v1.0.2
func (m *RequestUpdate) Reset()
func (*RequestUpdate) String ¶ added in v1.0.2
func (m *RequestUpdate) String() string
func (*RequestUpdate) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *RequestUpdate) XXX_DiscardUnknown()
func (*RequestUpdate) XXX_Marshal ¶ added in v1.0.2
func (m *RequestUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestUpdate) XXX_Merge ¶ added in v1.0.2
func (m *RequestUpdate) XXX_Merge(src proto.Message)
func (*RequestUpdate) XXX_Size ¶ added in v1.0.2
func (m *RequestUpdate) XXX_Size() int
func (*RequestUpdate) XXX_Unmarshal ¶ added in v1.0.2
func (m *RequestUpdate) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.