Documentation ¶
Index ¶
- func RegisterMongoBindServiceServer(s *grpc.Server, srv MongoBindServiceServer)
- type DateAndMessage
- func (*DateAndMessage) Descriptor() ([]byte, []int)
- func (m *DateAndMessage) GetDate() int32
- func (m *DateAndMessage) GetMessageList() [][]byte
- func (*DateAndMessage) ProtoMessage()
- func (m *DateAndMessage) Reset()
- func (m *DateAndMessage) String() string
- func (m *DateAndMessage) XXX_DiscardUnknown()
- func (m *DateAndMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DateAndMessage) XXX_Merge(src proto.Message)
- func (m *DateAndMessage) XXX_Size() int
- func (m *DateAndMessage) XXX_Unmarshal(b []byte) error
- type DelayMessage
- func (*DelayMessage) Descriptor() ([]byte, []int)
- func (m *DelayMessage) GetId() int64
- func (m *DelayMessage) GetMessageList() [][]byte
- func (*DelayMessage) ProtoMessage()
- func (m *DelayMessage) Reset()
- func (m *DelayMessage) String() string
- func (m *DelayMessage) XXX_DiscardUnknown()
- func (m *DelayMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelayMessage) XXX_Merge(src proto.Message)
- func (m *DelayMessage) XXX_Size() int
- func (m *DelayMessage) XXX_Unmarshal(b []byte) error
- type DoubleId
- func (*DoubleId) Descriptor() ([]byte, []int)
- func (m *DoubleId) GetMainId() int64
- func (m *DoubleId) GetOtherId() int64
- func (*DoubleId) ProtoMessage()
- func (m *DoubleId) Reset()
- func (m *DoubleId) String() string
- func (m *DoubleId) XXX_DiscardUnknown()
- func (m *DoubleId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DoubleId) XXX_Merge(src proto.Message)
- func (m *DoubleId) XXX_Size() int
- func (m *DoubleId) XXX_Unmarshal(b []byte) error
- type EmptyResult
- func (*EmptyResult) Descriptor() ([]byte, []int)
- func (*EmptyResult) ProtoMessage()
- func (m *EmptyResult) Reset()
- func (m *EmptyResult) String() string
- func (m *EmptyResult) XXX_DiscardUnknown()
- func (m *EmptyResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmptyResult) XXX_Merge(src proto.Message)
- func (m *EmptyResult) XXX_Size() int
- func (m *EmptyResult) XXX_Unmarshal(b []byte) error
- type GroupChatHistory
- func (*GroupChatHistory) Descriptor() ([]byte, []int)
- func (m *GroupChatHistory) GetData() []*DateAndMessage
- func (m *GroupChatHistory) GetId() int64
- func (*GroupChatHistory) ProtoMessage()
- func (m *GroupChatHistory) Reset()
- func (m *GroupChatHistory) String() string
- func (m *GroupChatHistory) XXX_DiscardUnknown()
- func (m *GroupChatHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupChatHistory) XXX_Merge(src proto.Message)
- func (m *GroupChatHistory) XXX_Size() int
- func (m *GroupChatHistory) XXX_Unmarshal(b []byte) error
- type GroupChatUsers
- func (*GroupChatUsers) Descriptor() ([]byte, []int)
- func (m *GroupChatUsers) GetId() int64
- func (m *GroupChatUsers) GetManagerId() int64
- func (m *GroupChatUsers) GetUsers() []int64
- func (*GroupChatUsers) ProtoMessage()
- func (m *GroupChatUsers) Reset()
- func (m *GroupChatUsers) String() string
- func (m *GroupChatUsers) XXX_DiscardUnknown()
- func (m *GroupChatUsers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupChatUsers) XXX_Merge(src proto.Message)
- func (m *GroupChatUsers) XXX_Size() int
- func (m *GroupChatUsers) XXX_Unmarshal(b []byte) error
- type Id
- func (*Id) Descriptor() ([]byte, []int)
- func (m *Id) GetValue() int64
- func (*Id) ProtoMessage()
- func (m *Id) Reset()
- func (m *Id) String() string
- func (m *Id) XXX_DiscardUnknown()
- func (m *Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Id) XXX_Merge(src proto.Message)
- func (m *Id) XXX_Size() int
- func (m *Id) XXX_Unmarshal(b []byte) error
- type IdAndDate
- func (*IdAndDate) Descriptor() ([]byte, []int)
- func (m *IdAndDate) GetDate() int32
- func (m *IdAndDate) GetId() int64
- func (*IdAndDate) ProtoMessage()
- func (m *IdAndDate) Reset()
- func (m *IdAndDate) String() string
- func (m *IdAndDate) XXX_DiscardUnknown()
- func (m *IdAndDate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdAndDate) XXX_Merge(src proto.Message)
- func (m *IdAndDate) XXX_Size() int
- func (m *IdAndDate) XXX_Unmarshal(b []byte) error
- type IdAndDateRange
- func (*IdAndDateRange) Descriptor() ([]byte, []int)
- func (m *IdAndDateRange) GetEndDate() int32
- func (m *IdAndDateRange) GetId() int64
- func (m *IdAndDateRange) GetStartDate() int32
- func (*IdAndDateRange) ProtoMessage()
- func (m *IdAndDateRange) Reset()
- func (m *IdAndDateRange) String() string
- func (m *IdAndDateRange) XXX_DiscardUnknown()
- func (m *IdAndDateRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdAndDateRange) XXX_Merge(src proto.Message)
- func (m *IdAndDateRange) XXX_Size() int
- func (m *IdAndDateRange) XXX_Unmarshal(b []byte) error
- type IdAndMessage
- func (*IdAndMessage) Descriptor() ([]byte, []int)
- func (m *IdAndMessage) GetId() int64
- func (m *IdAndMessage) GetMessage() []byte
- func (*IdAndMessage) ProtoMessage()
- func (m *IdAndMessage) Reset()
- func (m *IdAndMessage) String() string
- func (m *IdAndMessage) XXX_DiscardUnknown()
- func (m *IdAndMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdAndMessage) XXX_Merge(src proto.Message)
- func (m *IdAndMessage) XXX_Size() int
- func (m *IdAndMessage) XXX_Unmarshal(b []byte) error
- type JoinId
- func (*JoinId) Descriptor() ([]byte, []int)
- func (m *JoinId) GetValue() string
- func (*JoinId) ProtoMessage()
- func (m *JoinId) Reset()
- func (m *JoinId) String() string
- func (m *JoinId) XXX_DiscardUnknown()
- func (m *JoinId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JoinId) XXX_Merge(src proto.Message)
- func (m *JoinId) XXX_Size() int
- func (m *JoinId) XXX_Unmarshal(b []byte) error
- type JoinIdAndDate
- func (*JoinIdAndDate) Descriptor() ([]byte, []int)
- func (m *JoinIdAndDate) GetDate() int32
- func (m *JoinIdAndDate) GetJoinId() string
- func (*JoinIdAndDate) ProtoMessage()
- func (m *JoinIdAndDate) Reset()
- func (m *JoinIdAndDate) String() string
- func (m *JoinIdAndDate) XXX_DiscardUnknown()
- func (m *JoinIdAndDate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JoinIdAndDate) XXX_Merge(src proto.Message)
- func (m *JoinIdAndDate) XXX_Size() int
- func (m *JoinIdAndDate) XXX_Unmarshal(b []byte) error
- type JoinIdAndDateRange
- func (*JoinIdAndDateRange) Descriptor() ([]byte, []int)
- func (m *JoinIdAndDateRange) GetEndDate() int32
- func (m *JoinIdAndDateRange) GetJoinId() string
- func (m *JoinIdAndDateRange) GetStartDate() int32
- func (*JoinIdAndDateRange) ProtoMessage()
- func (m *JoinIdAndDateRange) Reset()
- func (m *JoinIdAndDateRange) String() string
- func (m *JoinIdAndDateRange) XXX_DiscardUnknown()
- func (m *JoinIdAndDateRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JoinIdAndDateRange) XXX_Merge(src proto.Message)
- func (m *JoinIdAndDateRange) XXX_Size() int
- func (m *JoinIdAndDateRange) XXX_Unmarshal(b []byte) error
- type JoinIdAndMessage
- func (*JoinIdAndMessage) Descriptor() ([]byte, []int)
- func (m *JoinIdAndMessage) GetJoinId() string
- func (m *JoinIdAndMessage) GetMessage() []byte
- func (*JoinIdAndMessage) ProtoMessage()
- func (m *JoinIdAndMessage) Reset()
- func (m *JoinIdAndMessage) String() string
- func (m *JoinIdAndMessage) XXX_DiscardUnknown()
- func (m *JoinIdAndMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JoinIdAndMessage) XXX_Merge(src proto.Message)
- func (m *JoinIdAndMessage) XXX_Size() int
- func (m *JoinIdAndMessage) XXX_Unmarshal(b []byte) error
- type MongoBindServiceClient
- type MongoBindServiceServer
- type SubscriptionHistory
- func (*SubscriptionHistory) Descriptor() ([]byte, []int)
- func (m *SubscriptionHistory) GetData() []*DateAndMessage
- func (m *SubscriptionHistory) GetId() int64
- func (*SubscriptionHistory) ProtoMessage()
- func (m *SubscriptionHistory) Reset()
- func (m *SubscriptionHistory) String() string
- func (m *SubscriptionHistory) XXX_DiscardUnknown()
- func (m *SubscriptionHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscriptionHistory) XXX_Merge(src proto.Message)
- func (m *SubscriptionHistory) XXX_Size() int
- func (m *SubscriptionHistory) XXX_Unmarshal(b []byte) error
- type SubscriptionUsers
- func (*SubscriptionUsers) Descriptor() ([]byte, []int)
- func (m *SubscriptionUsers) GetId() int64
- func (m *SubscriptionUsers) GetManagerId() int64
- func (m *SubscriptionUsers) GetUsers() []int64
- func (*SubscriptionUsers) ProtoMessage()
- func (m *SubscriptionUsers) Reset()
- func (m *SubscriptionUsers) String() string
- func (m *SubscriptionUsers) XXX_DiscardUnknown()
- func (m *SubscriptionUsers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscriptionUsers) XXX_Merge(src proto.Message)
- func (m *SubscriptionUsers) XXX_Size() int
- func (m *SubscriptionUsers) XXX_Unmarshal(b []byte) error
- type UnimplementedMongoBindServiceServer
- func (*UnimplementedMongoBindServiceServer) GetAllGroupChatHistory(ctx context.Context, req *Id) (*GroupChatHistory, error)
- func (*UnimplementedMongoBindServiceServer) GetAllSubscriptionHistory(ctx context.Context, req *Id) (*SubscriptionHistory, error)
- func (*UnimplementedMongoBindServiceServer) GetAllUserChatHistory(ctx context.Context, req *JoinId) (*UserChatHistory, error)
- func (*UnimplementedMongoBindServiceServer) GetDelayMessage(ctx context.Context, req *Id) (*DelayMessage, error)
- func (*UnimplementedMongoBindServiceServer) GetGroupChatHistoryByDate(ctx context.Context, req *IdAndDate) (*GroupChatHistory, error)
- func (*UnimplementedMongoBindServiceServer) GetGroupChatHistoryByDateRange(ctx context.Context, req *IdAndDateRange) (*GroupChatHistory, error)
- func (*UnimplementedMongoBindServiceServer) GetGroupChatUsers(ctx context.Context, req *Id) (*GroupChatUsers, error)
- func (*UnimplementedMongoBindServiceServer) GetSubscriptionHistoryByDate(ctx context.Context, req *IdAndDate) (*SubscriptionHistory, error)
- func (*UnimplementedMongoBindServiceServer) GetSubscriptionHistoryByDateRange(ctx context.Context, req *IdAndDateRange) (*SubscriptionHistory, error)
- func (*UnimplementedMongoBindServiceServer) GetSubscriptionUsers(ctx context.Context, req *Id) (*SubscriptionUsers, error)
- func (*UnimplementedMongoBindServiceServer) GetUserChatHistoryByDate(ctx context.Context, req *JoinIdAndDate) (*UserChatHistory, error)
- func (*UnimplementedMongoBindServiceServer) GetUserChatHistoryByDateRange(ctx context.Context, req *JoinIdAndDateRange) (*UserChatHistory, error)
- func (*UnimplementedMongoBindServiceServer) GetUserFriendsAndBlacklist(ctx context.Context, req *Id) (*UserFriendsAndBlacklist, error)
- func (*UnimplementedMongoBindServiceServer) GetUserGroupChats(ctx context.Context, req *Id) (*UserGroupChats, error)
- func (*UnimplementedMongoBindServiceServer) GetUserSubscriptions(ctx context.Context, req *Id) (*UserSubscriptions, error)
- func (*UnimplementedMongoBindServiceServer) PutGroupChatUsersAdd(ctx context.Context, req *XAndManagerAndUserId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutGroupChatUsersDel(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutMoveFriendIntoBlacklistPlus(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutMoveFriendOutFromBlacklistPlus(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutSaveDelayMessage(ctx context.Context, req *IdAndMessage) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutSaveGroupChatHistory(ctx context.Context, req *IdAndMessage) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutSaveSubscriptionHistory(ctx context.Context, req *IdAndMessage) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutSaveUserChatHistory(ctx context.Context, req *JoinIdAndMessage) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutSubscriptionUsersAdd(ctx context.Context, req *XAndManagerAndUserId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutSubscriptionUsersDel(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutUserBlacklistAdd(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutUserBlacklistDel(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutUserFollowSubscriptionPlus(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutUserFriendsAdd(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutUserFriendsDel(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutUserGroupChatsAdd(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutUserGroupChatsDel(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutUserJoinGroupChatPlus(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutUserQuitGroupChatPlus(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutUserSubscriptionsAdd(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutUserSubscriptionsDel(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- func (*UnimplementedMongoBindServiceServer) PutUserUnFollowSubscriptionPlus(ctx context.Context, req *DoubleId) (*EmptyResult, error)
- type UserChatHistory
- func (*UserChatHistory) Descriptor() ([]byte, []int)
- func (m *UserChatHistory) GetData() []*DateAndMessage
- func (m *UserChatHistory) GetJoinId() string
- func (*UserChatHistory) ProtoMessage()
- func (m *UserChatHistory) Reset()
- func (m *UserChatHistory) String() string
- func (m *UserChatHistory) XXX_DiscardUnknown()
- func (m *UserChatHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserChatHistory) XXX_Merge(src proto.Message)
- func (m *UserChatHistory) XXX_Size() int
- func (m *UserChatHistory) XXX_Unmarshal(b []byte) error
- type UserFriendsAndBlacklist
- func (*UserFriendsAndBlacklist) Descriptor() ([]byte, []int)
- func (m *UserFriendsAndBlacklist) GetBlacklist() []int64
- func (m *UserFriendsAndBlacklist) GetFriends() []int64
- func (m *UserFriendsAndBlacklist) GetId() int64
- func (*UserFriendsAndBlacklist) ProtoMessage()
- func (m *UserFriendsAndBlacklist) Reset()
- func (m *UserFriendsAndBlacklist) String() string
- func (m *UserFriendsAndBlacklist) XXX_DiscardUnknown()
- func (m *UserFriendsAndBlacklist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserFriendsAndBlacklist) XXX_Merge(src proto.Message)
- func (m *UserFriendsAndBlacklist) XXX_Size() int
- func (m *UserFriendsAndBlacklist) XXX_Unmarshal(b []byte) error
- type UserGroupChats
- func (*UserGroupChats) Descriptor() ([]byte, []int)
- func (m *UserGroupChats) GetGroups() []int64
- func (m *UserGroupChats) GetId() int64
- func (*UserGroupChats) ProtoMessage()
- func (m *UserGroupChats) Reset()
- func (m *UserGroupChats) String() string
- func (m *UserGroupChats) XXX_DiscardUnknown()
- func (m *UserGroupChats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserGroupChats) XXX_Merge(src proto.Message)
- func (m *UserGroupChats) XXX_Size() int
- func (m *UserGroupChats) XXX_Unmarshal(b []byte) error
- type UserSubscriptions
- func (*UserSubscriptions) Descriptor() ([]byte, []int)
- func (m *UserSubscriptions) GetId() int64
- func (m *UserSubscriptions) GetSubscriptions() []int64
- func (*UserSubscriptions) ProtoMessage()
- func (m *UserSubscriptions) Reset()
- func (m *UserSubscriptions) String() string
- func (m *UserSubscriptions) XXX_DiscardUnknown()
- func (m *UserSubscriptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserSubscriptions) XXX_Merge(src proto.Message)
- func (m *UserSubscriptions) XXX_Size() int
- func (m *UserSubscriptions) XXX_Unmarshal(b []byte) error
- type XAndManagerAndUserId
- func (*XAndManagerAndUserId) Descriptor() ([]byte, []int)
- func (m *XAndManagerAndUserId) GetId() int64
- func (m *XAndManagerAndUserId) GetManagerId() int64
- func (m *XAndManagerAndUserId) GetUserId() int64
- func (*XAndManagerAndUserId) ProtoMessage()
- func (m *XAndManagerAndUserId) Reset()
- func (m *XAndManagerAndUserId) String() string
- func (m *XAndManagerAndUserId) XXX_DiscardUnknown()
- func (m *XAndManagerAndUserId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *XAndManagerAndUserId) XXX_Merge(src proto.Message)
- func (m *XAndManagerAndUserId) XXX_Size() int
- func (m *XAndManagerAndUserId) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMongoBindServiceServer ¶
func RegisterMongoBindServiceServer(s *grpc.Server, srv MongoBindServiceServer)
Types ¶
type DateAndMessage ¶
type DateAndMessage struct { Date int32 `protobuf:"varint,1,opt,name=date,proto3" json:"date,omitempty"` MessageList [][]byte `protobuf:"bytes,2,rep,name=message_list,json=messageList,proto3" json:"message_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
a basic data structure for save date and the message was sent on the date.
func (*DateAndMessage) Descriptor ¶
func (*DateAndMessage) Descriptor() ([]byte, []int)
func (*DateAndMessage) GetDate ¶
func (m *DateAndMessage) GetDate() int32
func (*DateAndMessage) GetMessageList ¶
func (m *DateAndMessage) GetMessageList() [][]byte
func (*DateAndMessage) ProtoMessage ¶
func (*DateAndMessage) ProtoMessage()
func (*DateAndMessage) Reset ¶
func (m *DateAndMessage) Reset()
func (*DateAndMessage) String ¶
func (m *DateAndMessage) String() string
func (*DateAndMessage) XXX_DiscardUnknown ¶
func (m *DateAndMessage) XXX_DiscardUnknown()
func (*DateAndMessage) XXX_Marshal ¶
func (m *DateAndMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DateAndMessage) XXX_Merge ¶
func (m *DateAndMessage) XXX_Merge(src proto.Message)
func (*DateAndMessage) XXX_Size ¶
func (m *DateAndMessage) XXX_Size() int
func (*DateAndMessage) XXX_Unmarshal ¶
func (m *DateAndMessage) XXX_Unmarshal(b []byte) error
type DelayMessage ¶
type DelayMessage struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` MessageList [][]byte `protobuf:"bytes,2,rep,name=message_list,json=messageList,proto3" json:"message_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DelayMessage) Descriptor ¶
func (*DelayMessage) Descriptor() ([]byte, []int)
func (*DelayMessage) GetId ¶
func (m *DelayMessage) GetId() int64
func (*DelayMessage) GetMessageList ¶
func (m *DelayMessage) GetMessageList() [][]byte
func (*DelayMessage) ProtoMessage ¶
func (*DelayMessage) ProtoMessage()
func (*DelayMessage) Reset ¶
func (m *DelayMessage) Reset()
func (*DelayMessage) String ¶
func (m *DelayMessage) String() string
func (*DelayMessage) XXX_DiscardUnknown ¶
func (m *DelayMessage) XXX_DiscardUnknown()
func (*DelayMessage) XXX_Marshal ¶
func (m *DelayMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelayMessage) XXX_Merge ¶
func (m *DelayMessage) XXX_Merge(src proto.Message)
func (*DelayMessage) XXX_Size ¶
func (m *DelayMessage) XXX_Size() int
func (*DelayMessage) XXX_Unmarshal ¶
func (m *DelayMessage) XXX_Unmarshal(b []byte) error
type DoubleId ¶
type DoubleId struct { MainId int64 `protobuf:"varint,1,opt,name=main_id,json=mainId,proto3" json:"main_id,omitempty"` OtherId int64 `protobuf:"varint,2,opt,name=other_id,json=otherId,proto3" json:"other_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DoubleId) Descriptor ¶
func (*DoubleId) GetOtherId ¶
func (*DoubleId) ProtoMessage ¶
func (*DoubleId) ProtoMessage()
func (*DoubleId) XXX_DiscardUnknown ¶
func (m *DoubleId) XXX_DiscardUnknown()
func (*DoubleId) XXX_Marshal ¶
func (*DoubleId) XXX_Unmarshal ¶
type EmptyResult ¶
type EmptyResult struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmptyResult) Descriptor ¶
func (*EmptyResult) Descriptor() ([]byte, []int)
func (*EmptyResult) ProtoMessage ¶
func (*EmptyResult) ProtoMessage()
func (*EmptyResult) Reset ¶
func (m *EmptyResult) Reset()
func (*EmptyResult) String ¶
func (m *EmptyResult) String() string
func (*EmptyResult) XXX_DiscardUnknown ¶
func (m *EmptyResult) XXX_DiscardUnknown()
func (*EmptyResult) XXX_Marshal ¶
func (m *EmptyResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmptyResult) XXX_Merge ¶
func (m *EmptyResult) XXX_Merge(src proto.Message)
func (*EmptyResult) XXX_Size ¶
func (m *EmptyResult) XXX_Size() int
func (*EmptyResult) XXX_Unmarshal ¶
func (m *EmptyResult) XXX_Unmarshal(b []byte) error
type GroupChatHistory ¶
type GroupChatHistory struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Data []*DateAndMessage `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GroupChatHistory) Descriptor ¶
func (*GroupChatHistory) Descriptor() ([]byte, []int)
func (*GroupChatHistory) GetData ¶
func (m *GroupChatHistory) GetData() []*DateAndMessage
func (*GroupChatHistory) GetId ¶
func (m *GroupChatHistory) GetId() int64
func (*GroupChatHistory) ProtoMessage ¶
func (*GroupChatHistory) ProtoMessage()
func (*GroupChatHistory) Reset ¶
func (m *GroupChatHistory) Reset()
func (*GroupChatHistory) String ¶
func (m *GroupChatHistory) String() string
func (*GroupChatHistory) XXX_DiscardUnknown ¶
func (m *GroupChatHistory) XXX_DiscardUnknown()
func (*GroupChatHistory) XXX_Marshal ¶
func (m *GroupChatHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupChatHistory) XXX_Merge ¶
func (m *GroupChatHistory) XXX_Merge(src proto.Message)
func (*GroupChatHistory) XXX_Size ¶
func (m *GroupChatHistory) XXX_Size() int
func (*GroupChatHistory) XXX_Unmarshal ¶
func (m *GroupChatHistory) XXX_Unmarshal(b []byte) error
type GroupChatUsers ¶
type GroupChatUsers struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Users []int64 `protobuf:"varint,2,rep,packed,name=users,proto3" json:"users,omitempty"` ManagerId int64 `protobuf:"varint,3,opt,name=manager_id,json=managerId,proto3" json:"manager_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GroupChatUsers) Descriptor ¶
func (*GroupChatUsers) Descriptor() ([]byte, []int)
func (*GroupChatUsers) GetId ¶
func (m *GroupChatUsers) GetId() int64
func (*GroupChatUsers) GetManagerId ¶
func (m *GroupChatUsers) GetManagerId() int64
func (*GroupChatUsers) GetUsers ¶
func (m *GroupChatUsers) GetUsers() []int64
func (*GroupChatUsers) ProtoMessage ¶
func (*GroupChatUsers) ProtoMessage()
func (*GroupChatUsers) Reset ¶
func (m *GroupChatUsers) Reset()
func (*GroupChatUsers) String ¶
func (m *GroupChatUsers) String() string
func (*GroupChatUsers) XXX_DiscardUnknown ¶
func (m *GroupChatUsers) XXX_DiscardUnknown()
func (*GroupChatUsers) XXX_Marshal ¶
func (m *GroupChatUsers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupChatUsers) XXX_Merge ¶
func (m *GroupChatUsers) XXX_Merge(src proto.Message)
func (*GroupChatUsers) XXX_Size ¶
func (m *GroupChatUsers) XXX_Size() int
func (*GroupChatUsers) XXX_Unmarshal ¶
func (m *GroupChatUsers) XXX_Unmarshal(b []byte) error
type Id ¶
type Id struct { Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Id) Descriptor ¶
func (*Id) ProtoMessage ¶
func (*Id) ProtoMessage()
func (*Id) XXX_DiscardUnknown ¶
func (m *Id) XXX_DiscardUnknown()
func (*Id) XXX_Unmarshal ¶
type IdAndDate ¶
type IdAndDate struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Date int32 `protobuf:"varint,2,opt,name=date,proto3" json:"date,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IdAndDate) Descriptor ¶
func (*IdAndDate) ProtoMessage ¶
func (*IdAndDate) ProtoMessage()
func (*IdAndDate) XXX_DiscardUnknown ¶
func (m *IdAndDate) XXX_DiscardUnknown()
func (*IdAndDate) XXX_Marshal ¶
func (*IdAndDate) XXX_Unmarshal ¶
type IdAndDateRange ¶
type IdAndDateRange struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` StartDate int32 `protobuf:"varint,2,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate int32 `protobuf:"varint,3,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IdAndDateRange) Descriptor ¶
func (*IdAndDateRange) Descriptor() ([]byte, []int)
func (*IdAndDateRange) GetEndDate ¶
func (m *IdAndDateRange) GetEndDate() int32
func (*IdAndDateRange) GetId ¶
func (m *IdAndDateRange) GetId() int64
func (*IdAndDateRange) GetStartDate ¶
func (m *IdAndDateRange) GetStartDate() int32
func (*IdAndDateRange) ProtoMessage ¶
func (*IdAndDateRange) ProtoMessage()
func (*IdAndDateRange) Reset ¶
func (m *IdAndDateRange) Reset()
func (*IdAndDateRange) String ¶
func (m *IdAndDateRange) String() string
func (*IdAndDateRange) XXX_DiscardUnknown ¶
func (m *IdAndDateRange) XXX_DiscardUnknown()
func (*IdAndDateRange) XXX_Marshal ¶
func (m *IdAndDateRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdAndDateRange) XXX_Merge ¶
func (m *IdAndDateRange) XXX_Merge(src proto.Message)
func (*IdAndDateRange) XXX_Size ¶
func (m *IdAndDateRange) XXX_Size() int
func (*IdAndDateRange) XXX_Unmarshal ¶
func (m *IdAndDateRange) XXX_Unmarshal(b []byte) error
type IdAndMessage ¶
type IdAndMessage struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IdAndMessage) Descriptor ¶
func (*IdAndMessage) Descriptor() ([]byte, []int)
func (*IdAndMessage) GetId ¶
func (m *IdAndMessage) GetId() int64
func (*IdAndMessage) GetMessage ¶
func (m *IdAndMessage) GetMessage() []byte
func (*IdAndMessage) ProtoMessage ¶
func (*IdAndMessage) ProtoMessage()
func (*IdAndMessage) Reset ¶
func (m *IdAndMessage) Reset()
func (*IdAndMessage) String ¶
func (m *IdAndMessage) String() string
func (*IdAndMessage) XXX_DiscardUnknown ¶
func (m *IdAndMessage) XXX_DiscardUnknown()
func (*IdAndMessage) XXX_Marshal ¶
func (m *IdAndMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdAndMessage) XXX_Merge ¶
func (m *IdAndMessage) XXX_Merge(src proto.Message)
func (*IdAndMessage) XXX_Size ¶
func (m *IdAndMessage) XXX_Size() int
func (*IdAndMessage) XXX_Unmarshal ¶
func (m *IdAndMessage) XXX_Unmarshal(b []byte) error
type JoinId ¶
type JoinId struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JoinId) Descriptor ¶
func (*JoinId) ProtoMessage ¶
func (*JoinId) ProtoMessage()
func (*JoinId) XXX_DiscardUnknown ¶
func (m *JoinId) XXX_DiscardUnknown()
func (*JoinId) XXX_Marshal ¶
func (*JoinId) XXX_Unmarshal ¶
type JoinIdAndDate ¶
type JoinIdAndDate struct { JoinId string `protobuf:"bytes,1,opt,name=join_id,json=joinId,proto3" json:"join_id,omitempty"` Date int32 `protobuf:"varint,2,opt,name=date,proto3" json:"date,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JoinIdAndDate) Descriptor ¶
func (*JoinIdAndDate) Descriptor() ([]byte, []int)
func (*JoinIdAndDate) GetDate ¶
func (m *JoinIdAndDate) GetDate() int32
func (*JoinIdAndDate) GetJoinId ¶
func (m *JoinIdAndDate) GetJoinId() string
func (*JoinIdAndDate) ProtoMessage ¶
func (*JoinIdAndDate) ProtoMessage()
func (*JoinIdAndDate) Reset ¶
func (m *JoinIdAndDate) Reset()
func (*JoinIdAndDate) String ¶
func (m *JoinIdAndDate) String() string
func (*JoinIdAndDate) XXX_DiscardUnknown ¶
func (m *JoinIdAndDate) XXX_DiscardUnknown()
func (*JoinIdAndDate) XXX_Marshal ¶
func (m *JoinIdAndDate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JoinIdAndDate) XXX_Merge ¶
func (m *JoinIdAndDate) XXX_Merge(src proto.Message)
func (*JoinIdAndDate) XXX_Size ¶
func (m *JoinIdAndDate) XXX_Size() int
func (*JoinIdAndDate) XXX_Unmarshal ¶
func (m *JoinIdAndDate) XXX_Unmarshal(b []byte) error
type JoinIdAndDateRange ¶
type JoinIdAndDateRange struct { JoinId string `protobuf:"bytes,1,opt,name=join_id,json=joinId,proto3" json:"join_id,omitempty"` StartDate int32 `protobuf:"varint,2,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate int32 `protobuf:"varint,3,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JoinIdAndDateRange) Descriptor ¶
func (*JoinIdAndDateRange) Descriptor() ([]byte, []int)
func (*JoinIdAndDateRange) GetEndDate ¶
func (m *JoinIdAndDateRange) GetEndDate() int32
func (*JoinIdAndDateRange) GetJoinId ¶
func (m *JoinIdAndDateRange) GetJoinId() string
func (*JoinIdAndDateRange) GetStartDate ¶
func (m *JoinIdAndDateRange) GetStartDate() int32
func (*JoinIdAndDateRange) ProtoMessage ¶
func (*JoinIdAndDateRange) ProtoMessage()
func (*JoinIdAndDateRange) Reset ¶
func (m *JoinIdAndDateRange) Reset()
func (*JoinIdAndDateRange) String ¶
func (m *JoinIdAndDateRange) String() string
func (*JoinIdAndDateRange) XXX_DiscardUnknown ¶
func (m *JoinIdAndDateRange) XXX_DiscardUnknown()
func (*JoinIdAndDateRange) XXX_Marshal ¶
func (m *JoinIdAndDateRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JoinIdAndDateRange) XXX_Merge ¶
func (m *JoinIdAndDateRange) XXX_Merge(src proto.Message)
func (*JoinIdAndDateRange) XXX_Size ¶
func (m *JoinIdAndDateRange) XXX_Size() int
func (*JoinIdAndDateRange) XXX_Unmarshal ¶
func (m *JoinIdAndDateRange) XXX_Unmarshal(b []byte) error
type JoinIdAndMessage ¶
type JoinIdAndMessage struct { JoinId string `protobuf:"bytes,1,opt,name=join_id,json=joinId,proto3" json:"join_id,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JoinIdAndMessage) Descriptor ¶
func (*JoinIdAndMessage) Descriptor() ([]byte, []int)
func (*JoinIdAndMessage) GetJoinId ¶
func (m *JoinIdAndMessage) GetJoinId() string
func (*JoinIdAndMessage) GetMessage ¶
func (m *JoinIdAndMessage) GetMessage() []byte
func (*JoinIdAndMessage) ProtoMessage ¶
func (*JoinIdAndMessage) ProtoMessage()
func (*JoinIdAndMessage) Reset ¶
func (m *JoinIdAndMessage) Reset()
func (*JoinIdAndMessage) String ¶
func (m *JoinIdAndMessage) String() string
func (*JoinIdAndMessage) XXX_DiscardUnknown ¶
func (m *JoinIdAndMessage) XXX_DiscardUnknown()
func (*JoinIdAndMessage) XXX_Marshal ¶
func (m *JoinIdAndMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JoinIdAndMessage) XXX_Merge ¶
func (m *JoinIdAndMessage) XXX_Merge(src proto.Message)
func (*JoinIdAndMessage) XXX_Size ¶
func (m *JoinIdAndMessage) XXX_Size() int
func (*JoinIdAndMessage) XXX_Unmarshal ¶
func (m *JoinIdAndMessage) XXX_Unmarshal(b []byte) error
type MongoBindServiceClient ¶
type MongoBindServiceClient interface { // methods for delay messages PutSaveDelayMessage(ctx context.Context, in *IdAndMessage, opts ...grpc.CallOption) (*EmptyResult, error) GetDelayMessage(ctx context.Context, in *Id, opts ...grpc.CallOption) (*DelayMessage, error) // methods for user chat history PutSaveUserChatHistory(ctx context.Context, in *JoinIdAndMessage, opts ...grpc.CallOption) (*EmptyResult, error) GetAllUserChatHistory(ctx context.Context, in *JoinId, opts ...grpc.CallOption) (*UserChatHistory, error) GetUserChatHistoryByDate(ctx context.Context, in *JoinIdAndDate, opts ...grpc.CallOption) (*UserChatHistory, error) GetUserChatHistoryByDateRange(ctx context.Context, in *JoinIdAndDateRange, opts ...grpc.CallOption) (*UserChatHistory, error) // methods for group chat history PutSaveGroupChatHistory(ctx context.Context, in *IdAndMessage, opts ...grpc.CallOption) (*EmptyResult, error) GetAllGroupChatHistory(ctx context.Context, in *Id, opts ...grpc.CallOption) (*GroupChatHistory, error) GetGroupChatHistoryByDate(ctx context.Context, in *IdAndDate, opts ...grpc.CallOption) (*GroupChatHistory, error) GetGroupChatHistoryByDateRange(ctx context.Context, in *IdAndDateRange, opts ...grpc.CallOption) (*GroupChatHistory, error) // methods for subscription messages history PutSaveSubscriptionHistory(ctx context.Context, in *IdAndMessage, opts ...grpc.CallOption) (*EmptyResult, error) GetAllSubscriptionHistory(ctx context.Context, in *Id, opts ...grpc.CallOption) (*SubscriptionHistory, error) GetSubscriptionHistoryByDate(ctx context.Context, in *IdAndDate, opts ...grpc.CallOption) (*SubscriptionHistory, error) GetSubscriptionHistoryByDateRange(ctx context.Context, in *IdAndDateRange, opts ...grpc.CallOption) (*SubscriptionHistory, error) // methods for user's friends, blacklist cache data PutUserFriendsAdd(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) PutUserFriendsDel(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) PutUserBlacklistAdd(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) PutUserBlacklistDel(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) GetUserFriendsAndBlacklist(ctx context.Context, in *Id, opts ...grpc.CallOption) (*UserFriendsAndBlacklist, error) PutMoveFriendIntoBlacklistPlus(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) PutMoveFriendOutFromBlacklistPlus(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) // methods for the user-group-chat and user-subscription relationship cache data PutUserGroupChatsAdd(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) PutUserGroupChatsDel(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) GetUserGroupChats(ctx context.Context, in *Id, opts ...grpc.CallOption) (*UserGroupChats, error) PutUserSubscriptionsAdd(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) PutUserSubscriptionsDel(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) GetUserSubscriptions(ctx context.Context, in *Id, opts ...grpc.CallOption) (*UserSubscriptions, error) PutGroupChatUsersAdd(ctx context.Context, in *XAndManagerAndUserId, opts ...grpc.CallOption) (*EmptyResult, error) PutGroupChatUsersDel(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) GetGroupChatUsers(ctx context.Context, in *Id, opts ...grpc.CallOption) (*GroupChatUsers, error) PutSubscriptionUsersAdd(ctx context.Context, in *XAndManagerAndUserId, opts ...grpc.CallOption) (*EmptyResult, error) PutSubscriptionUsersDel(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) GetSubscriptionUsers(ctx context.Context, in *Id, opts ...grpc.CallOption) (*SubscriptionUsers, error) PutUserJoinGroupChatPlus(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) PutUserQuitGroupChatPlus(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) PutUserFollowSubscriptionPlus(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) PutUserUnFollowSubscriptionPlus(ctx context.Context, in *DoubleId, opts ...grpc.CallOption) (*EmptyResult, error) }
MongoBindServiceClient is the client API for MongoBindService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMongoBindServiceClient ¶
func NewMongoBindServiceClient(cc *grpc.ClientConn) MongoBindServiceClient
type MongoBindServiceServer ¶
type MongoBindServiceServer interface { // methods for delay messages PutSaveDelayMessage(context.Context, *IdAndMessage) (*EmptyResult, error) GetDelayMessage(context.Context, *Id) (*DelayMessage, error) // methods for user chat history PutSaveUserChatHistory(context.Context, *JoinIdAndMessage) (*EmptyResult, error) GetAllUserChatHistory(context.Context, *JoinId) (*UserChatHistory, error) GetUserChatHistoryByDate(context.Context, *JoinIdAndDate) (*UserChatHistory, error) GetUserChatHistoryByDateRange(context.Context, *JoinIdAndDateRange) (*UserChatHistory, error) // methods for group chat history PutSaveGroupChatHistory(context.Context, *IdAndMessage) (*EmptyResult, error) GetAllGroupChatHistory(context.Context, *Id) (*GroupChatHistory, error) GetGroupChatHistoryByDate(context.Context, *IdAndDate) (*GroupChatHistory, error) GetGroupChatHistoryByDateRange(context.Context, *IdAndDateRange) (*GroupChatHistory, error) // methods for subscription messages history PutSaveSubscriptionHistory(context.Context, *IdAndMessage) (*EmptyResult, error) GetAllSubscriptionHistory(context.Context, *Id) (*SubscriptionHistory, error) GetSubscriptionHistoryByDate(context.Context, *IdAndDate) (*SubscriptionHistory, error) GetSubscriptionHistoryByDateRange(context.Context, *IdAndDateRange) (*SubscriptionHistory, error) // methods for user's friends, blacklist cache data PutUserFriendsAdd(context.Context, *DoubleId) (*EmptyResult, error) PutUserFriendsDel(context.Context, *DoubleId) (*EmptyResult, error) PutUserBlacklistAdd(context.Context, *DoubleId) (*EmptyResult, error) PutUserBlacklistDel(context.Context, *DoubleId) (*EmptyResult, error) GetUserFriendsAndBlacklist(context.Context, *Id) (*UserFriendsAndBlacklist, error) PutMoveFriendIntoBlacklistPlus(context.Context, *DoubleId) (*EmptyResult, error) PutMoveFriendOutFromBlacklistPlus(context.Context, *DoubleId) (*EmptyResult, error) // methods for the user-group-chat and user-subscription relationship cache data PutUserGroupChatsAdd(context.Context, *DoubleId) (*EmptyResult, error) PutUserGroupChatsDel(context.Context, *DoubleId) (*EmptyResult, error) GetUserGroupChats(context.Context, *Id) (*UserGroupChats, error) PutUserSubscriptionsAdd(context.Context, *DoubleId) (*EmptyResult, error) PutUserSubscriptionsDel(context.Context, *DoubleId) (*EmptyResult, error) GetUserSubscriptions(context.Context, *Id) (*UserSubscriptions, error) PutGroupChatUsersAdd(context.Context, *XAndManagerAndUserId) (*EmptyResult, error) PutGroupChatUsersDel(context.Context, *DoubleId) (*EmptyResult, error) GetGroupChatUsers(context.Context, *Id) (*GroupChatUsers, error) PutSubscriptionUsersAdd(context.Context, *XAndManagerAndUserId) (*EmptyResult, error) PutSubscriptionUsersDel(context.Context, *DoubleId) (*EmptyResult, error) GetSubscriptionUsers(context.Context, *Id) (*SubscriptionUsers, error) PutUserJoinGroupChatPlus(context.Context, *DoubleId) (*EmptyResult, error) PutUserQuitGroupChatPlus(context.Context, *DoubleId) (*EmptyResult, error) PutUserFollowSubscriptionPlus(context.Context, *DoubleId) (*EmptyResult, error) PutUserUnFollowSubscriptionPlus(context.Context, *DoubleId) (*EmptyResult, error) }
MongoBindServiceServer is the server API for MongoBindService service.
type SubscriptionHistory ¶
type SubscriptionHistory struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Data []*DateAndMessage `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubscriptionHistory) Descriptor ¶
func (*SubscriptionHistory) Descriptor() ([]byte, []int)
func (*SubscriptionHistory) GetData ¶
func (m *SubscriptionHistory) GetData() []*DateAndMessage
func (*SubscriptionHistory) GetId ¶
func (m *SubscriptionHistory) GetId() int64
func (*SubscriptionHistory) ProtoMessage ¶
func (*SubscriptionHistory) ProtoMessage()
func (*SubscriptionHistory) Reset ¶
func (m *SubscriptionHistory) Reset()
func (*SubscriptionHistory) String ¶
func (m *SubscriptionHistory) String() string
func (*SubscriptionHistory) XXX_DiscardUnknown ¶
func (m *SubscriptionHistory) XXX_DiscardUnknown()
func (*SubscriptionHistory) XXX_Marshal ¶
func (m *SubscriptionHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscriptionHistory) XXX_Merge ¶
func (m *SubscriptionHistory) XXX_Merge(src proto.Message)
func (*SubscriptionHistory) XXX_Size ¶
func (m *SubscriptionHistory) XXX_Size() int
func (*SubscriptionHistory) XXX_Unmarshal ¶
func (m *SubscriptionHistory) XXX_Unmarshal(b []byte) error
type SubscriptionUsers ¶
type SubscriptionUsers struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Users []int64 `protobuf:"varint,2,rep,packed,name=users,proto3" json:"users,omitempty"` ManagerId int64 `protobuf:"varint,3,opt,name=manager_id,json=managerId,proto3" json:"manager_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubscriptionUsers) Descriptor ¶
func (*SubscriptionUsers) Descriptor() ([]byte, []int)
func (*SubscriptionUsers) GetId ¶
func (m *SubscriptionUsers) GetId() int64
func (*SubscriptionUsers) GetManagerId ¶
func (m *SubscriptionUsers) GetManagerId() int64
func (*SubscriptionUsers) GetUsers ¶
func (m *SubscriptionUsers) GetUsers() []int64
func (*SubscriptionUsers) ProtoMessage ¶
func (*SubscriptionUsers) ProtoMessage()
func (*SubscriptionUsers) Reset ¶
func (m *SubscriptionUsers) Reset()
func (*SubscriptionUsers) String ¶
func (m *SubscriptionUsers) String() string
func (*SubscriptionUsers) XXX_DiscardUnknown ¶
func (m *SubscriptionUsers) XXX_DiscardUnknown()
func (*SubscriptionUsers) XXX_Marshal ¶
func (m *SubscriptionUsers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscriptionUsers) XXX_Merge ¶
func (m *SubscriptionUsers) XXX_Merge(src proto.Message)
func (*SubscriptionUsers) XXX_Size ¶
func (m *SubscriptionUsers) XXX_Size() int
func (*SubscriptionUsers) XXX_Unmarshal ¶
func (m *SubscriptionUsers) XXX_Unmarshal(b []byte) error
type UnimplementedMongoBindServiceServer ¶
type UnimplementedMongoBindServiceServer struct { }
UnimplementedMongoBindServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMongoBindServiceServer) GetAllGroupChatHistory ¶
func (*UnimplementedMongoBindServiceServer) GetAllGroupChatHistory(ctx context.Context, req *Id) (*GroupChatHistory, error)
func (*UnimplementedMongoBindServiceServer) GetAllSubscriptionHistory ¶
func (*UnimplementedMongoBindServiceServer) GetAllSubscriptionHistory(ctx context.Context, req *Id) (*SubscriptionHistory, error)
func (*UnimplementedMongoBindServiceServer) GetAllUserChatHistory ¶
func (*UnimplementedMongoBindServiceServer) GetAllUserChatHistory(ctx context.Context, req *JoinId) (*UserChatHistory, error)
func (*UnimplementedMongoBindServiceServer) GetDelayMessage ¶
func (*UnimplementedMongoBindServiceServer) GetDelayMessage(ctx context.Context, req *Id) (*DelayMessage, error)
func (*UnimplementedMongoBindServiceServer) GetGroupChatHistoryByDate ¶
func (*UnimplementedMongoBindServiceServer) GetGroupChatHistoryByDate(ctx context.Context, req *IdAndDate) (*GroupChatHistory, error)
func (*UnimplementedMongoBindServiceServer) GetGroupChatHistoryByDateRange ¶
func (*UnimplementedMongoBindServiceServer) GetGroupChatHistoryByDateRange(ctx context.Context, req *IdAndDateRange) (*GroupChatHistory, error)
func (*UnimplementedMongoBindServiceServer) GetGroupChatUsers ¶
func (*UnimplementedMongoBindServiceServer) GetGroupChatUsers(ctx context.Context, req *Id) (*GroupChatUsers, error)
func (*UnimplementedMongoBindServiceServer) GetSubscriptionHistoryByDate ¶
func (*UnimplementedMongoBindServiceServer) GetSubscriptionHistoryByDate(ctx context.Context, req *IdAndDate) (*SubscriptionHistory, error)
func (*UnimplementedMongoBindServiceServer) GetSubscriptionHistoryByDateRange ¶
func (*UnimplementedMongoBindServiceServer) GetSubscriptionHistoryByDateRange(ctx context.Context, req *IdAndDateRange) (*SubscriptionHistory, error)
func (*UnimplementedMongoBindServiceServer) GetSubscriptionUsers ¶
func (*UnimplementedMongoBindServiceServer) GetSubscriptionUsers(ctx context.Context, req *Id) (*SubscriptionUsers, error)
func (*UnimplementedMongoBindServiceServer) GetUserChatHistoryByDate ¶
func (*UnimplementedMongoBindServiceServer) GetUserChatHistoryByDate(ctx context.Context, req *JoinIdAndDate) (*UserChatHistory, error)
func (*UnimplementedMongoBindServiceServer) GetUserChatHistoryByDateRange ¶
func (*UnimplementedMongoBindServiceServer) GetUserChatHistoryByDateRange(ctx context.Context, req *JoinIdAndDateRange) (*UserChatHistory, error)
func (*UnimplementedMongoBindServiceServer) GetUserFriendsAndBlacklist ¶
func (*UnimplementedMongoBindServiceServer) GetUserFriendsAndBlacklist(ctx context.Context, req *Id) (*UserFriendsAndBlacklist, error)
func (*UnimplementedMongoBindServiceServer) GetUserGroupChats ¶
func (*UnimplementedMongoBindServiceServer) GetUserGroupChats(ctx context.Context, req *Id) (*UserGroupChats, error)
func (*UnimplementedMongoBindServiceServer) GetUserSubscriptions ¶
func (*UnimplementedMongoBindServiceServer) GetUserSubscriptions(ctx context.Context, req *Id) (*UserSubscriptions, error)
func (*UnimplementedMongoBindServiceServer) PutGroupChatUsersAdd ¶
func (*UnimplementedMongoBindServiceServer) PutGroupChatUsersAdd(ctx context.Context, req *XAndManagerAndUserId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutGroupChatUsersDel ¶
func (*UnimplementedMongoBindServiceServer) PutGroupChatUsersDel(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutMoveFriendIntoBlacklistPlus ¶
func (*UnimplementedMongoBindServiceServer) PutMoveFriendIntoBlacklistPlus(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutMoveFriendOutFromBlacklistPlus ¶
func (*UnimplementedMongoBindServiceServer) PutMoveFriendOutFromBlacklistPlus(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutSaveDelayMessage ¶
func (*UnimplementedMongoBindServiceServer) PutSaveDelayMessage(ctx context.Context, req *IdAndMessage) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutSaveGroupChatHistory ¶
func (*UnimplementedMongoBindServiceServer) PutSaveGroupChatHistory(ctx context.Context, req *IdAndMessage) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutSaveSubscriptionHistory ¶
func (*UnimplementedMongoBindServiceServer) PutSaveSubscriptionHistory(ctx context.Context, req *IdAndMessage) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutSaveUserChatHistory ¶
func (*UnimplementedMongoBindServiceServer) PutSaveUserChatHistory(ctx context.Context, req *JoinIdAndMessage) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutSubscriptionUsersAdd ¶
func (*UnimplementedMongoBindServiceServer) PutSubscriptionUsersAdd(ctx context.Context, req *XAndManagerAndUserId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutSubscriptionUsersDel ¶
func (*UnimplementedMongoBindServiceServer) PutSubscriptionUsersDel(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutUserBlacklistAdd ¶
func (*UnimplementedMongoBindServiceServer) PutUserBlacklistAdd(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutUserBlacklistDel ¶
func (*UnimplementedMongoBindServiceServer) PutUserBlacklistDel(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutUserFollowSubscriptionPlus ¶
func (*UnimplementedMongoBindServiceServer) PutUserFollowSubscriptionPlus(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutUserFriendsAdd ¶
func (*UnimplementedMongoBindServiceServer) PutUserFriendsAdd(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutUserFriendsDel ¶
func (*UnimplementedMongoBindServiceServer) PutUserFriendsDel(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutUserGroupChatsAdd ¶
func (*UnimplementedMongoBindServiceServer) PutUserGroupChatsAdd(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutUserGroupChatsDel ¶
func (*UnimplementedMongoBindServiceServer) PutUserGroupChatsDel(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutUserJoinGroupChatPlus ¶
func (*UnimplementedMongoBindServiceServer) PutUserJoinGroupChatPlus(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutUserQuitGroupChatPlus ¶
func (*UnimplementedMongoBindServiceServer) PutUserQuitGroupChatPlus(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutUserSubscriptionsAdd ¶
func (*UnimplementedMongoBindServiceServer) PutUserSubscriptionsAdd(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutUserSubscriptionsDel ¶
func (*UnimplementedMongoBindServiceServer) PutUserSubscriptionsDel(ctx context.Context, req *DoubleId) (*EmptyResult, error)
func (*UnimplementedMongoBindServiceServer) PutUserUnFollowSubscriptionPlus ¶
func (*UnimplementedMongoBindServiceServer) PutUserUnFollowSubscriptionPlus(ctx context.Context, req *DoubleId) (*EmptyResult, error)
type UserChatHistory ¶
type UserChatHistory struct { JoinId string `protobuf:"bytes,1,opt,name=join_id,json=joinId,proto3" json:"join_id,omitempty"` Data []*DateAndMessage `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserChatHistory) Descriptor ¶
func (*UserChatHistory) Descriptor() ([]byte, []int)
func (*UserChatHistory) GetData ¶
func (m *UserChatHistory) GetData() []*DateAndMessage
func (*UserChatHistory) GetJoinId ¶
func (m *UserChatHistory) GetJoinId() string
func (*UserChatHistory) ProtoMessage ¶
func (*UserChatHistory) ProtoMessage()
func (*UserChatHistory) Reset ¶
func (m *UserChatHistory) Reset()
func (*UserChatHistory) String ¶
func (m *UserChatHistory) String() string
func (*UserChatHistory) XXX_DiscardUnknown ¶
func (m *UserChatHistory) XXX_DiscardUnknown()
func (*UserChatHistory) XXX_Marshal ¶
func (m *UserChatHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserChatHistory) XXX_Merge ¶
func (m *UserChatHistory) XXX_Merge(src proto.Message)
func (*UserChatHistory) XXX_Size ¶
func (m *UserChatHistory) XXX_Size() int
func (*UserChatHistory) XXX_Unmarshal ¶
func (m *UserChatHistory) XXX_Unmarshal(b []byte) error
type UserFriendsAndBlacklist ¶
type UserFriendsAndBlacklist struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Friends []int64 `protobuf:"varint,2,rep,packed,name=friends,proto3" json:"friends,omitempty"` Blacklist []int64 `protobuf:"varint,3,rep,packed,name=blacklist,proto3" json:"blacklist,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserFriendsAndBlacklist) Descriptor ¶
func (*UserFriendsAndBlacklist) Descriptor() ([]byte, []int)
func (*UserFriendsAndBlacklist) GetBlacklist ¶
func (m *UserFriendsAndBlacklist) GetBlacklist() []int64
func (*UserFriendsAndBlacklist) GetFriends ¶
func (m *UserFriendsAndBlacklist) GetFriends() []int64
func (*UserFriendsAndBlacklist) GetId ¶
func (m *UserFriendsAndBlacklist) GetId() int64
func (*UserFriendsAndBlacklist) ProtoMessage ¶
func (*UserFriendsAndBlacklist) ProtoMessage()
func (*UserFriendsAndBlacklist) Reset ¶
func (m *UserFriendsAndBlacklist) Reset()
func (*UserFriendsAndBlacklist) String ¶
func (m *UserFriendsAndBlacklist) String() string
func (*UserFriendsAndBlacklist) XXX_DiscardUnknown ¶
func (m *UserFriendsAndBlacklist) XXX_DiscardUnknown()
func (*UserFriendsAndBlacklist) XXX_Marshal ¶
func (m *UserFriendsAndBlacklist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserFriendsAndBlacklist) XXX_Merge ¶
func (m *UserFriendsAndBlacklist) XXX_Merge(src proto.Message)
func (*UserFriendsAndBlacklist) XXX_Size ¶
func (m *UserFriendsAndBlacklist) XXX_Size() int
func (*UserFriendsAndBlacklist) XXX_Unmarshal ¶
func (m *UserFriendsAndBlacklist) XXX_Unmarshal(b []byte) error
type UserGroupChats ¶
type UserGroupChats struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Groups []int64 `protobuf:"varint,2,rep,packed,name=groups,proto3" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserGroupChats) Descriptor ¶
func (*UserGroupChats) Descriptor() ([]byte, []int)
func (*UserGroupChats) GetGroups ¶
func (m *UserGroupChats) GetGroups() []int64
func (*UserGroupChats) GetId ¶
func (m *UserGroupChats) GetId() int64
func (*UserGroupChats) ProtoMessage ¶
func (*UserGroupChats) ProtoMessage()
func (*UserGroupChats) Reset ¶
func (m *UserGroupChats) Reset()
func (*UserGroupChats) String ¶
func (m *UserGroupChats) String() string
func (*UserGroupChats) XXX_DiscardUnknown ¶
func (m *UserGroupChats) XXX_DiscardUnknown()
func (*UserGroupChats) XXX_Marshal ¶
func (m *UserGroupChats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserGroupChats) XXX_Merge ¶
func (m *UserGroupChats) XXX_Merge(src proto.Message)
func (*UserGroupChats) XXX_Size ¶
func (m *UserGroupChats) XXX_Size() int
func (*UserGroupChats) XXX_Unmarshal ¶
func (m *UserGroupChats) XXX_Unmarshal(b []byte) error
type UserSubscriptions ¶
type UserSubscriptions struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Subscriptions []int64 `protobuf:"varint,2,rep,packed,name=subscriptions,proto3" json:"subscriptions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserSubscriptions) Descriptor ¶
func (*UserSubscriptions) Descriptor() ([]byte, []int)
func (*UserSubscriptions) GetId ¶
func (m *UserSubscriptions) GetId() int64
func (*UserSubscriptions) GetSubscriptions ¶
func (m *UserSubscriptions) GetSubscriptions() []int64
func (*UserSubscriptions) ProtoMessage ¶
func (*UserSubscriptions) ProtoMessage()
func (*UserSubscriptions) Reset ¶
func (m *UserSubscriptions) Reset()
func (*UserSubscriptions) String ¶
func (m *UserSubscriptions) String() string
func (*UserSubscriptions) XXX_DiscardUnknown ¶
func (m *UserSubscriptions) XXX_DiscardUnknown()
func (*UserSubscriptions) XXX_Marshal ¶
func (m *UserSubscriptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserSubscriptions) XXX_Merge ¶
func (m *UserSubscriptions) XXX_Merge(src proto.Message)
func (*UserSubscriptions) XXX_Size ¶
func (m *UserSubscriptions) XXX_Size() int
func (*UserSubscriptions) XXX_Unmarshal ¶
func (m *UserSubscriptions) XXX_Unmarshal(b []byte) error
type XAndManagerAndUserId ¶
type XAndManagerAndUserId struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ManagerId int64 `protobuf:"varint,2,opt,name=manager_id,json=managerId,proto3" json:"manager_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*XAndManagerAndUserId) Descriptor ¶
func (*XAndManagerAndUserId) Descriptor() ([]byte, []int)
func (*XAndManagerAndUserId) GetId ¶
func (m *XAndManagerAndUserId) GetId() int64
func (*XAndManagerAndUserId) GetManagerId ¶
func (m *XAndManagerAndUserId) GetManagerId() int64
func (*XAndManagerAndUserId) GetUserId ¶
func (m *XAndManagerAndUserId) GetUserId() int64
func (*XAndManagerAndUserId) ProtoMessage ¶
func (*XAndManagerAndUserId) ProtoMessage()
func (*XAndManagerAndUserId) Reset ¶
func (m *XAndManagerAndUserId) Reset()
func (*XAndManagerAndUserId) String ¶
func (m *XAndManagerAndUserId) String() string
func (*XAndManagerAndUserId) XXX_DiscardUnknown ¶
func (m *XAndManagerAndUserId) XXX_DiscardUnknown()
func (*XAndManagerAndUserId) XXX_Marshal ¶
func (m *XAndManagerAndUserId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*XAndManagerAndUserId) XXX_Merge ¶
func (m *XAndManagerAndUserId) XXX_Merge(src proto.Message)
func (*XAndManagerAndUserId) XXX_Size ¶
func (m *XAndManagerAndUserId) XXX_Size() int
func (*XAndManagerAndUserId) XXX_Unmarshal ¶
func (m *XAndManagerAndUserId) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.