Versions in this module Expand all Collapse all v0 v0.0.1 Jul 28, 2022 Changes in this version + const BlackAppend + const BlackDelete + const DefaultServerGroupId + const DefaultServerGroupName + const FriendAppend + const FriendDelete + const FuncNameGetBlackList + const FuncNameGetFriends + const FuncNameGetServerGroup + const FuncNameGetUser + const GroupAppend + const GroupDelete + const GroupEdit + const ListASC + const ListDESC + const LvlPrivate + const LvlProtect + const LvlPublic + const MaxGroupsLength + const MaxServerGroupsNumb + const NameUpdateBlackListAction + const NameUpdateFriendsAction + const NameUpdateServerGroupAction + const NameUpdateUserAction + const Private + const Protect + const Public + const QueryTimeOut + const TableBlackIndexMainAddr + const TableBlackIndexMainAddrTargetAddr + const TableBlackName + const TableBlackPrimary + const TableChatPreFix + const TableFriendIndexMainAddr + const TableFriendIndexMainAddrFriendAddr + const TableFriendName + const TableFriendPrimary + const TableServerGroupsIndexMainAddr + const TableServerGroupsIndexMainAddrServerId + const TableServerGroupsName + const TableServerGroupsPrimary + const TableUserIndexMainAddr + const TableUserIndexMainAddrFieldName + const TableUserName + const TableUserPrimary + const TyLogUpdateBlackList + const TyLogUpdateFriends + const TyLogUpdateServerGroup + const TyLogUpdateUser + const TyUnknownLog + const TyUpdateBlackListAction + const TyUpdateFriendsAction + const TyUpdateServerGroupAction + const TyUpdateUserAction + const UserAppend + const UserDelete + const Whitelist + var ChatX = "chat" + var ErrFieldType = errors.New("字段类型不合法") + var ErrGroupIdFailed = errors.New("分组id生成失败") + var ErrGroupsArrayOut = errors.New("分组数量超出限制") + var ErrLackPermissions = errors.New("访问权限不足") + var ErrLevelTypeUnDefine = errors.New("安全级别未定义") + var ErrParams = errors.New("请求参数错误") + var ErrQueryTimeOut = errors.New("查询请求过期") + var ErrSignErr = errors.New("签名不正确") + var ErrTypeNotExist = errors.New("类型不存在") + func InitExecutor(cfg *types.Chain33Config) + func InitFork(cfg *types.Chain33Config) + func NewBlackTable(kvdb db.KV) *table.Table + func NewFriendTable(kvdb db.KV) *table.Table + func NewServerGroupsTable(kvdb db.KV) *table.Table + func NewType(cfg *types.Chain33Config) *chatType + func NewUserTable(kvdb db.KV) *table.Table + func RegisterChatServer(s *grpc.Server, srv ChatServer) + func TableList(dbm db.KVDB, tableName, indexName string, data interface{}, ...) ([]*table.Row, error) + type Black struct + CreateTime int64 + MainAddress string + TargetAddress string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Black) Descriptor() ([]byte, []int) + func (*Black) ProtoMessage() + func (m *Black) GetCreateTime() int64 + func (m *Black) GetMainAddress() string + func (m *Black) GetTargetAddress() string + func (m *Black) Reset() + func (m *Black) String() string + func (m *Black) XXX_DiscardUnknown() + func (m *Black) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Black) XXX_Merge(src proto.Message) + func (m *Black) XXX_Size() int + func (m *Black) XXX_Unmarshal(b []byte) error + type BlackRow struct + func NewBlackRow() *BlackRow + func (tx *BlackRow) CreateRow() *table.Row + func (tx *BlackRow) Get(key string) ([]byte, error) + func (tx *BlackRow) SetPayload(data types.Message) error + type ChatAction struct + Ty int32 + Value isChatAction_Value + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ChatAction) Descriptor() ([]byte, []int) + func (*ChatAction) ProtoMessage() + func (*ChatAction) XXX_OneofWrappers() []interface{} + func (m *ChatAction) GetBlack() *UpdateBlackList + func (m *ChatAction) GetTy() int32 + func (m *ChatAction) GetUpdate() *UpdateFriends + func (m *ChatAction) GetUpdateServerGroup() *UpdateServerGroups + func (m *ChatAction) GetUpdateUser() *UpdateFields + func (m *ChatAction) GetValue() isChatAction_Value + func (m *ChatAction) Reset() + func (m *ChatAction) String() string + func (m *ChatAction) XXX_DiscardUnknown() + func (m *ChatAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ChatAction) XXX_Merge(src proto.Message) + func (m *ChatAction) XXX_Size() int + func (m *ChatAction) XXX_Unmarshal(b []byte) error + type ChatAction_Black struct + Black *UpdateBlackList + type ChatAction_Update struct + Update *UpdateFriends + type ChatAction_UpdateServerGroup struct + UpdateServerGroup *UpdateServerGroups + type ChatAction_UpdateUser struct + UpdateUser *UpdateFields + type ChatClient interface + Black func(ctx context.Context, in *UpdateBlackList, opts ...grpc.CallOption) (*types.UnsignTx, error) + GetBlackList func(ctx context.Context, in *ReqGetBlackList, opts ...grpc.CallOption) (*ReplyGetBlackList, error) + GetFriends func(ctx context.Context, in *ReqGetFriends, opts ...grpc.CallOption) (*ReplyGetFriends, error) + GetServerGroup func(ctx context.Context, in *ReqGetServerGroup, opts ...grpc.CallOption) (*ReplyGetServerGroups, error) + GetUser func(ctx context.Context, in *ReqGetUser, opts ...grpc.CallOption) (*ReplyGetUser, error) + Update func(ctx context.Context, in *UpdateFriends, opts ...grpc.CallOption) (*types.UnsignTx, error) + UpdateServerGroup func(ctx context.Context, in *UpdateServerGroups, opts ...grpc.CallOption) (*types.UnsignTx, error) + UpdateUser func(ctx context.Context, in *UpdateFields, opts ...grpc.CallOption) (*types.UnsignTx, error) + func NewChatClient(cc *grpc.ClientConn) ChatClient + type ChatServer interface + Black func(context.Context, *UpdateBlackList) (*types.UnsignTx, error) + GetBlackList func(context.Context, *ReqGetBlackList) (*ReplyGetBlackList, error) + GetFriends func(context.Context, *ReqGetFriends) (*ReplyGetFriends, error) + GetServerGroup func(context.Context, *ReqGetServerGroup) (*ReplyGetServerGroups, error) + GetUser func(context.Context, *ReqGetUser) (*ReplyGetUser, error) + Update func(context.Context, *UpdateFriends) (*types.UnsignTx, error) + UpdateServerGroup func(context.Context, *UpdateServerGroups) (*types.UnsignTx, error) + UpdateUser func(context.Context, *UpdateFields) (*types.UnsignTx, error) + type Field struct + Level string + MainAddress string + Name string + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Field) Descriptor() ([]byte, []int) + func (*Field) ProtoMessage() + func (m *Field) GetLevel() string + func (m *Field) GetMainAddress() string + func (m *Field) GetName() string + func (m *Field) GetValue() string + func (m *Field) Reset() + func (m *Field) String() string + func (m *Field) XXX_DiscardUnknown() + func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Field) XXX_Merge(src proto.Message) + func (m *Field) XXX_Size() int + func (m *Field) XXX_Unmarshal(b []byte) error + type Friend struct + CreateTime int64 + FriendAddress string + Groups []string + MainAddress string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Friend) Descriptor() ([]byte, []int) + func (*Friend) ProtoMessage() + func (m *Friend) GetCreateTime() int64 + func (m *Friend) GetFriendAddress() string + func (m *Friend) GetGroups() []string + func (m *Friend) GetMainAddress() string + func (m *Friend) Reset() + func (m *Friend) String() string + func (m *Friend) XXX_DiscardUnknown() + func (m *Friend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Friend) XXX_Merge(src proto.Message) + func (m *Friend) XXX_Size() int + func (m *Friend) XXX_Unmarshal(b []byte) error + type FriendRow struct + func NewFriendRow() *FriendRow + func (tx *FriendRow) CreateRow() *table.Row + func (tx *FriendRow) Get(key string) ([]byte, error) + func (tx *FriendRow) SetPayload(data types.Message) error + type ReplyGetBlackList struct + List []*Black + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReplyGetBlackList) Descriptor() ([]byte, []int) + func (*ReplyGetBlackList) ProtoMessage() + func (m *ReplyGetBlackList) GetList() []*Black + func (m *ReplyGetBlackList) Reset() + func (m *ReplyGetBlackList) String() string + func (m *ReplyGetBlackList) XXX_DiscardUnknown() + func (m *ReplyGetBlackList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReplyGetBlackList) XXX_Merge(src proto.Message) + func (m *ReplyGetBlackList) XXX_Size() int + func (m *ReplyGetBlackList) XXX_Unmarshal(b []byte) error + type ReplyGetField struct + Level string + Name string + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReplyGetField) Descriptor() ([]byte, []int) + func (*ReplyGetField) ProtoMessage() + func (m *ReplyGetField) GetLevel() string + func (m *ReplyGetField) GetName() string + func (m *ReplyGetField) GetValue() string + func (m *ReplyGetField) Reset() + func (m *ReplyGetField) String() string + func (m *ReplyGetField) XXX_DiscardUnknown() + func (m *ReplyGetField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReplyGetField) XXX_Merge(src proto.Message) + func (m *ReplyGetField) XXX_Size() int + func (m *ReplyGetField) XXX_Unmarshal(b []byte) error + type ReplyGetFriends struct + Friends []*Friend + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReplyGetFriends) Descriptor() ([]byte, []int) + func (*ReplyGetFriends) ProtoMessage() + func (m *ReplyGetFriends) GetFriends() []*Friend + func (m *ReplyGetFriends) Reset() + func (m *ReplyGetFriends) String() string + func (m *ReplyGetFriends) XXX_DiscardUnknown() + func (m *ReplyGetFriends) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReplyGetFriends) XXX_Merge(src proto.Message) + func (m *ReplyGetFriends) XXX_Size() int + func (m *ReplyGetFriends) XXX_Unmarshal(b []byte) error + type ReplyGetServerGroup struct + Id string + Name string + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReplyGetServerGroup) Descriptor() ([]byte, []int) + func (*ReplyGetServerGroup) ProtoMessage() + func (m *ReplyGetServerGroup) GetId() string + func (m *ReplyGetServerGroup) GetName() string + func (m *ReplyGetServerGroup) GetValue() string + func (m *ReplyGetServerGroup) Reset() + func (m *ReplyGetServerGroup) String() string + func (m *ReplyGetServerGroup) XXX_DiscardUnknown() + func (m *ReplyGetServerGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReplyGetServerGroup) XXX_Merge(src proto.Message) + func (m *ReplyGetServerGroup) XXX_Size() int + func (m *ReplyGetServerGroup) XXX_Unmarshal(b []byte) error + type ReplyGetServerGroups struct + Groups []*ReplyGetServerGroup + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReplyGetServerGroups) Descriptor() ([]byte, []int) + func (*ReplyGetServerGroups) ProtoMessage() + func (m *ReplyGetServerGroups) GetGroups() []*ReplyGetServerGroup + func (m *ReplyGetServerGroups) Reset() + func (m *ReplyGetServerGroups) String() string + func (m *ReplyGetServerGroups) XXX_DiscardUnknown() + func (m *ReplyGetServerGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReplyGetServerGroups) XXX_Merge(src proto.Message) + func (m *ReplyGetServerGroups) XXX_Size() int + func (m *ReplyGetServerGroups) XXX_Unmarshal(b []byte) error + type ReplyGetUser struct + ChatServers []*ReplyServerInfo + Fields []*ReplyGetField + Groups []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReplyGetUser) Descriptor() ([]byte, []int) + func (*ReplyGetUser) ProtoMessage() + func (m *ReplyGetUser) GetChatServers() []*ReplyServerInfo + func (m *ReplyGetUser) GetFields() []*ReplyGetField + func (m *ReplyGetUser) GetGroups() []string + func (m *ReplyGetUser) Reset() + func (m *ReplyGetUser) String() string + func (m *ReplyGetUser) XXX_DiscardUnknown() + func (m *ReplyGetUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReplyGetUser) XXX_Merge(src proto.Message) + func (m *ReplyGetUser) XXX_Size() int + func (m *ReplyGetUser) XXX_Unmarshal(b []byte) error + type ReplyServerInfo struct + Address string + Id string + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReplyServerInfo) Descriptor() ([]byte, []int) + func (*ReplyServerInfo) ProtoMessage() + func (m *ReplyServerInfo) GetAddress() string + func (m *ReplyServerInfo) GetId() string + func (m *ReplyServerInfo) GetName() string + func (m *ReplyServerInfo) Reset() + func (m *ReplyServerInfo) String() string + func (m *ReplyServerInfo) XXX_DiscardUnknown() + func (m *ReplyServerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReplyServerInfo) XXX_Merge(src proto.Message) + func (m *ReplyServerInfo) XXX_Size() int + func (m *ReplyServerInfo) XXX_Unmarshal(b []byte) error + type ReqGetBlackList struct + Count int32 + Index string + MainAddress string + Sign *Sign + Time int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReqGetBlackList) Descriptor() ([]byte, []int) + func (*ReqGetBlackList) ProtoMessage() + func (m *ReqGetBlackList) GetCount() int32 + func (m *ReqGetBlackList) GetIndex() string + func (m *ReqGetBlackList) GetMainAddress() string + func (m *ReqGetBlackList) GetSign() *Sign + func (m *ReqGetBlackList) GetTime() int64 + func (m *ReqGetBlackList) Reset() + func (m *ReqGetBlackList) String() string + func (m *ReqGetBlackList) XXX_DiscardUnknown() + func (m *ReqGetBlackList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReqGetBlackList) XXX_Merge(src proto.Message) + func (m *ReqGetBlackList) XXX_Size() int + func (m *ReqGetBlackList) XXX_Unmarshal(b []byte) error + type ReqGetFriends struct + Count int32 + Index string + MainAddress string + Sign *Sign + Time int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReqGetFriends) Descriptor() ([]byte, []int) + func (*ReqGetFriends) ProtoMessage() + func (m *ReqGetFriends) GetCount() int32 + func (m *ReqGetFriends) GetIndex() string + func (m *ReqGetFriends) GetMainAddress() string + func (m *ReqGetFriends) GetSign() *Sign + func (m *ReqGetFriends) GetTime() int64 + func (m *ReqGetFriends) Reset() + func (m *ReqGetFriends) String() string + func (m *ReqGetFriends) XXX_DiscardUnknown() + func (m *ReqGetFriends) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReqGetFriends) XXX_Merge(src proto.Message) + func (m *ReqGetFriends) XXX_Size() int + func (m *ReqGetFriends) XXX_Unmarshal(b []byte) error + type ReqGetServerGroup struct + Count int32 + Index string + MainAddress string + Sign *Sign + Time int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReqGetServerGroup) Descriptor() ([]byte, []int) + func (*ReqGetServerGroup) ProtoMessage() + func (m *ReqGetServerGroup) GetCount() int32 + func (m *ReqGetServerGroup) GetIndex() string + func (m *ReqGetServerGroup) GetMainAddress() string + func (m *ReqGetServerGroup) GetSign() *Sign + func (m *ReqGetServerGroup) GetTime() int64 + func (m *ReqGetServerGroup) Reset() + func (m *ReqGetServerGroup) String() string + func (m *ReqGetServerGroup) XXX_DiscardUnknown() + func (m *ReqGetServerGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReqGetServerGroup) XXX_Merge(src proto.Message) + func (m *ReqGetServerGroup) XXX_Size() int + func (m *ReqGetServerGroup) XXX_Unmarshal(b []byte) error + type ReqGetUser struct + Count int32 + Index string + MainAddress string + Sign *Sign + TargetAddress string + Time int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReqGetUser) Descriptor() ([]byte, []int) + func (*ReqGetUser) ProtoMessage() + func (m *ReqGetUser) GetCount() int32 + func (m *ReqGetUser) GetIndex() string + func (m *ReqGetUser) GetMainAddress() string + func (m *ReqGetUser) GetSign() *Sign + func (m *ReqGetUser) GetTargetAddress() string + func (m *ReqGetUser) GetTime() int64 + func (m *ReqGetUser) Reset() + func (m *ReqGetUser) String() string + func (m *ReqGetUser) XXX_DiscardUnknown() + func (m *ReqGetUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReqGetUser) XXX_Merge(src proto.Message) + func (m *ReqGetUser) XXX_Size() int + func (m *ReqGetUser) XXX_Unmarshal(b []byte) error + type ReqUpdateBlackList struct + TargetAddress string + Type int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReqUpdateBlackList) Descriptor() ([]byte, []int) + func (*ReqUpdateBlackList) ProtoMessage() + func (m *ReqUpdateBlackList) GetTargetAddress() string + func (m *ReqUpdateBlackList) GetType() int32 + func (m *ReqUpdateBlackList) Reset() + func (m *ReqUpdateBlackList) String() string + func (m *ReqUpdateBlackList) XXX_DiscardUnknown() + func (m *ReqUpdateBlackList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReqUpdateBlackList) XXX_Merge(src proto.Message) + func (m *ReqUpdateBlackList) XXX_Size() int + func (m *ReqUpdateBlackList) XXX_Unmarshal(b []byte) error + type ReqUpdateField struct + Level string + Name string + Type int32 + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReqUpdateField) Descriptor() ([]byte, []int) + func (*ReqUpdateField) ProtoMessage() + func (m *ReqUpdateField) GetLevel() string + func (m *ReqUpdateField) GetName() string + func (m *ReqUpdateField) GetType() int32 + func (m *ReqUpdateField) GetValue() string + func (m *ReqUpdateField) Reset() + func (m *ReqUpdateField) String() string + func (m *ReqUpdateField) XXX_DiscardUnknown() + func (m *ReqUpdateField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReqUpdateField) XXX_Merge(src proto.Message) + func (m *ReqUpdateField) XXX_Size() int + func (m *ReqUpdateField) XXX_Unmarshal(b []byte) error + type ReqUpdateFriend struct + FriendAddress string + Groups []string + Type int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReqUpdateFriend) Descriptor() ([]byte, []int) + func (*ReqUpdateFriend) ProtoMessage() + func (m *ReqUpdateFriend) GetFriendAddress() string + func (m *ReqUpdateFriend) GetGroups() []string + func (m *ReqUpdateFriend) GetType() int32 + func (m *ReqUpdateFriend) Reset() + func (m *ReqUpdateFriend) String() string + func (m *ReqUpdateFriend) XXX_DiscardUnknown() + func (m *ReqUpdateFriend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReqUpdateFriend) XXX_Merge(src proto.Message) + func (m *ReqUpdateFriend) XXX_Size() int + func (m *ReqUpdateFriend) XXX_Unmarshal(b []byte) error + type ReqUpdateServerGroup struct + Id string + Name string + Type int32 + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReqUpdateServerGroup) Descriptor() ([]byte, []int) + func (*ReqUpdateServerGroup) ProtoMessage() + func (m *ReqUpdateServerGroup) GetId() string + func (m *ReqUpdateServerGroup) GetName() string + func (m *ReqUpdateServerGroup) GetType() int32 + func (m *ReqUpdateServerGroup) GetValue() string + func (m *ReqUpdateServerGroup) Reset() + func (m *ReqUpdateServerGroup) String() string + func (m *ReqUpdateServerGroup) XXX_DiscardUnknown() + func (m *ReqUpdateServerGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReqUpdateServerGroup) XXX_Merge(src proto.Message) + func (m *ReqUpdateServerGroup) XXX_Size() int + func (m *ReqUpdateServerGroup) XXX_Unmarshal(b []byte) error + type ServerGroup struct + Id string + MainAddress string + Name string + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ServerGroup) Descriptor() ([]byte, []int) + func (*ServerGroup) ProtoMessage() + func (m *ServerGroup) GetId() string + func (m *ServerGroup) GetMainAddress() string + func (m *ServerGroup) GetName() string + func (m *ServerGroup) GetValue() string + func (m *ServerGroup) Reset() + func (m *ServerGroup) String() string + func (m *ServerGroup) XXX_DiscardUnknown() + func (m *ServerGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ServerGroup) XXX_Merge(src proto.Message) + func (m *ServerGroup) XXX_Size() int + func (m *ServerGroup) XXX_Unmarshal(b []byte) error + type ServerGroupsRow struct + func NewServerGroupsRow() *ServerGroupsRow + func (tx *ServerGroupsRow) CreateRow() *table.Row + func (tx *ServerGroupsRow) Get(key string) ([]byte, error) + func (tx *ServerGroupsRow) SetPayload(data types.Message) error + type Sign struct + PublicKey string + Signature string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Sign) Descriptor() ([]byte, []int) + func (*Sign) ProtoMessage() + func (m *Sign) GetPublicKey() string + func (m *Sign) GetSignature() string + func (m *Sign) Reset() + func (m *Sign) String() string + func (m *Sign) XXX_DiscardUnknown() + func (m *Sign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Sign) XXX_Merge(src proto.Message) + func (m *Sign) XXX_Size() int + func (m *Sign) XXX_Unmarshal(b []byte) error + type UnimplementedChatServer struct + func (*UnimplementedChatServer) Black(ctx context.Context, req *UpdateBlackList) (*types.UnsignTx, error) + func (*UnimplementedChatServer) GetBlackList(ctx context.Context, req *ReqGetBlackList) (*ReplyGetBlackList, error) + func (*UnimplementedChatServer) GetFriends(ctx context.Context, req *ReqGetFriends) (*ReplyGetFriends, error) + func (*UnimplementedChatServer) GetServerGroup(ctx context.Context, req *ReqGetServerGroup) (*ReplyGetServerGroups, error) + func (*UnimplementedChatServer) GetUser(ctx context.Context, req *ReqGetUser) (*ReplyGetUser, error) + func (*UnimplementedChatServer) Update(ctx context.Context, req *UpdateFriends) (*types.UnsignTx, error) + func (*UnimplementedChatServer) UpdateServerGroup(ctx context.Context, req *UpdateServerGroups) (*types.UnsignTx, error) + func (*UnimplementedChatServer) UpdateUser(ctx context.Context, req *UpdateFields) (*types.UnsignTx, error) + type UpdateBlackList struct + List []*ReqUpdateBlackList + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UpdateBlackList) Descriptor() ([]byte, []int) + func (*UpdateBlackList) ProtoMessage() + func (m *UpdateBlackList) GetList() []*ReqUpdateBlackList + func (m *UpdateBlackList) Reset() + func (m *UpdateBlackList) String() string + func (m *UpdateBlackList) XXX_DiscardUnknown() + func (m *UpdateBlackList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpdateBlackList) XXX_Merge(src proto.Message) + func (m *UpdateBlackList) XXX_Size() int + func (m *UpdateBlackList) XXX_Unmarshal(b []byte) error + type UpdateFields struct + Fields []*ReqUpdateField + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UpdateFields) Descriptor() ([]byte, []int) + func (*UpdateFields) ProtoMessage() + func (m *UpdateFields) GetFields() []*ReqUpdateField + func (m *UpdateFields) Reset() + func (m *UpdateFields) String() string + func (m *UpdateFields) XXX_DiscardUnknown() + func (m *UpdateFields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpdateFields) XXX_Merge(src proto.Message) + func (m *UpdateFields) XXX_Size() int + func (m *UpdateFields) XXX_Unmarshal(b []byte) error + type UpdateFriends struct + Friends []*ReqUpdateFriend + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UpdateFriends) Descriptor() ([]byte, []int) + func (*UpdateFriends) ProtoMessage() + func (m *UpdateFriends) GetFriends() []*ReqUpdateFriend + func (m *UpdateFriends) Reset() + func (m *UpdateFriends) String() string + func (m *UpdateFriends) XXX_DiscardUnknown() + func (m *UpdateFriends) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpdateFriends) XXX_Merge(src proto.Message) + func (m *UpdateFriends) XXX_Size() int + func (m *UpdateFriends) XXX_Unmarshal(b []byte) error + type UpdateServerGroups struct + Groups []*ReqUpdateServerGroup + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UpdateServerGroups) Descriptor() ([]byte, []int) + func (*UpdateServerGroups) ProtoMessage() + func (m *UpdateServerGroups) GetGroups() []*ReqUpdateServerGroup + func (m *UpdateServerGroups) Reset() + func (m *UpdateServerGroups) String() string + func (m *UpdateServerGroups) XXX_DiscardUnknown() + func (m *UpdateServerGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpdateServerGroups) XXX_Merge(src proto.Message) + func (m *UpdateServerGroups) XXX_Size() int + func (m *UpdateServerGroups) XXX_Unmarshal(b []byte) error + type UserRow struct + func NewUserRow() *UserRow + func (tx *UserRow) CreateRow() *table.Row + func (tx *UserRow) Get(key string) ([]byte, error) + func (tx *UserRow) SetPayload(data types.Message) error