third

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResultCode_name = map[int32]string{
	0: "Success",
	1: "MaxLimit",
	2: "Repeated",
	3: "NotExisted",
	4: "DBException",
	5: "Empty",
}
View Source
var ResultCode_value = map[string]int32{
	"Success":     0,
	"MaxLimit":    1,
	"Repeated":    2,
	"NotExisted":  3,
	"DBException": 4,
	"Empty":       5,
}

Functions

func RegisterChannelServiceHandler

func RegisterChannelServiceHandler(s server.Server, hdlr ChannelServiceHandler, 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)
	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)
}

func NewChannelService

func NewChannelService(name string, c client.Client) ChannelService

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)
	RemoveOne(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyInfo, error)
	CreateSecret(ctx context.Context, in *RequestInfo, opts ...client.CallOption) (*ReplyPartnerSecret, error)
}

func NewPartnerService

func NewPartnerService(name string, c client.Client) PartnerService

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) Descriptor() ([]byte, []int)

func (*ReplyInfo) GetStatus

func (m *ReplyInfo) GetStatus() *ReplyStatus

func (*ReplyInfo) GetUid

func (m *ReplyInfo) GetUid() string

func (*ReplyInfo) ProtoMessage

func (*ReplyInfo) ProtoMessage()

func (*ReplyInfo) Reset

func (m *ReplyInfo) Reset()

func (*ReplyInfo) String

func (m *ReplyInfo) String() string

func (*ReplyInfo) XXX_DiscardUnknown

func (m *ReplyInfo) XXX_DiscardUnknown()

func (*ReplyInfo) XXX_Marshal

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

func (*ReplyInfo) XXX_Merge

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

func (*ReplyInfo) XXX_Size

func (m *ReplyInfo) XXX_Size() int

func (*ReplyInfo) XXX_Unmarshal

func (m *ReplyInfo) 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 ReplyStatus

type ReplyStatus struct {
	Code                 ResultCode `protobuf:"varint,1,opt,name=code,proto3,enum=omo.msp.third.ResultCode" 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() ResultCode

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 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 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"`
	Entity               string   `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	Operator             string   `protobuf:"bytes,3,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) GetEntity

func (m *RequestInfo) GetEntity() string

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 ResultCode

type ResultCode int32
const (
	ResultCode_Success     ResultCode = 0
	ResultCode_MaxLimit    ResultCode = 1
	ResultCode_Repeated    ResultCode = 2
	ResultCode_NotExisted  ResultCode = 3
	ResultCode_DBException ResultCode = 4
	ResultCode_Empty       ResultCode = 5
)

func (ResultCode) EnumDescriptor

func (ResultCode) EnumDescriptor() ([]byte, []int)

func (ResultCode) String

func (x ResultCode) String() string

Jump to

Keyboard shortcuts

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