Documentation ¶
Index ¶
- Variables
- func RegisterBubbleChartServer(s grpc.ServiceRegistrar, srv BubbleChartServer)
- func RegisterDatabaseServer(s grpc.ServiceRegistrar, srv DatabaseServer)
- func RegisterDistlockServer(s grpc.ServiceRegistrar, srv DistlockServer)
- func RegisterGatewayServer(s grpc.ServiceRegistrar, srv GatewayServer)
- func RegisterLeaderboardServer(s grpc.ServiceRegistrar, srv LeaderboardServer)
- func RegisterMailboxServer(s grpc.ServiceRegistrar, srv MailboxServer)
- func RegisterRoleAdminServer(s grpc.ServiceRegistrar, srv RoleAdminServer)
- func RegisterRoleServer(s grpc.ServiceRegistrar, srv RoleServer)
- func RegisterUserAdminServer(s grpc.ServiceRegistrar, srv UserAdminServer)
- func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
- type BubbleChartAppendRequest
- func (*BubbleChartAppendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BubbleChartAppendRequest) GetEntries() []*ChartEntry
- func (x *BubbleChartAppendRequest) GetKey() *ChartKey
- func (x *BubbleChartAppendRequest) GetOptions() *ChartOptions
- func (*BubbleChartAppendRequest) ProtoMessage()
- func (x *BubbleChartAppendRequest) ProtoReflect() protoreflect.Message
- func (x *BubbleChartAppendRequest) Reset()
- func (x *BubbleChartAppendRequest) String() string
- type BubbleChartAppendResponse
- type BubbleChartClient
- type BubbleChartGetByIdRequest
- func (*BubbleChartGetByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BubbleChartGetByIdRequest) GetIds() []string
- func (x *BubbleChartGetByIdRequest) GetKey() *ChartKey
- func (x *BubbleChartGetByIdRequest) GetOptions() *ChartOptions
- func (*BubbleChartGetByIdRequest) ProtoMessage()
- func (x *BubbleChartGetByIdRequest) ProtoReflect() protoreflect.Message
- func (x *BubbleChartGetByIdRequest) Reset()
- func (x *BubbleChartGetByIdRequest) String() string
- type BubbleChartGetByIdResponse
- func (*BubbleChartGetByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BubbleChartGetByIdResponse) GetEntries() []*ChartEntry
- func (*BubbleChartGetByIdResponse) ProtoMessage()
- func (x *BubbleChartGetByIdResponse) ProtoReflect() protoreflect.Message
- func (x *BubbleChartGetByIdResponse) Reset()
- func (x *BubbleChartGetByIdResponse) String() string
- type BubbleChartGetRangeRequest
- func (*BubbleChartGetRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BubbleChartGetRangeRequest) GetCount() int32
- func (x *BubbleChartGetRangeRequest) GetKey() *ChartKey
- func (x *BubbleChartGetRangeRequest) GetOffset() int32
- func (x *BubbleChartGetRangeRequest) GetOptions() *ChartOptions
- func (*BubbleChartGetRangeRequest) ProtoMessage()
- func (x *BubbleChartGetRangeRequest) ProtoReflect() protoreflect.Message
- func (x *BubbleChartGetRangeRequest) Reset()
- func (x *BubbleChartGetRangeRequest) String() string
- type BubbleChartGetRangeResponse
- func (*BubbleChartGetRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BubbleChartGetRangeResponse) GetEntries() []*ChartEntry
- func (*BubbleChartGetRangeResponse) ProtoMessage()
- func (x *BubbleChartGetRangeResponse) ProtoReflect() protoreflect.Message
- func (x *BubbleChartGetRangeResponse) Reset()
- func (x *BubbleChartGetRangeResponse) String() string
- type BubbleChartRemoveByIdRequest
- func (*BubbleChartRemoveByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BubbleChartRemoveByIdRequest) GetIds() []string
- func (x *BubbleChartRemoveByIdRequest) GetKey() *ChartKey
- func (x *BubbleChartRemoveByIdRequest) GetOptions() *ChartOptions
- func (*BubbleChartRemoveByIdRequest) ProtoMessage()
- func (x *BubbleChartRemoveByIdRequest) ProtoReflect() protoreflect.Message
- func (x *BubbleChartRemoveByIdRequest) Reset()
- func (x *BubbleChartRemoveByIdRequest) String() string
- type BubbleChartRemoveByIdResponse
- func (*BubbleChartRemoveByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (*BubbleChartRemoveByIdResponse) ProtoMessage()
- func (x *BubbleChartRemoveByIdResponse) ProtoReflect() protoreflect.Message
- func (x *BubbleChartRemoveByIdResponse) Reset()
- func (x *BubbleChartRemoveByIdResponse) String() string
- type BubbleChartServer
- type BubbleChartSetInfoRequest
- func (*BubbleChartSetInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BubbleChartSetInfoRequest) GetEntries() []*ChartEntry
- func (x *BubbleChartSetInfoRequest) GetKey() *ChartKey
- func (x *BubbleChartSetInfoRequest) GetOptions() *ChartOptions
- func (*BubbleChartSetInfoRequest) ProtoMessage()
- func (x *BubbleChartSetInfoRequest) ProtoReflect() protoreflect.Message
- func (x *BubbleChartSetInfoRequest) Reset()
- func (x *BubbleChartSetInfoRequest) String() string
- type BubbleChartSetInfoResponse
- type BubbleChartSwapByIdRequest
- func (*BubbleChartSwapByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BubbleChartSwapByIdRequest) GetId0() string
- func (x *BubbleChartSwapByIdRequest) GetId1() string
- func (x *BubbleChartSwapByIdRequest) GetKey() *ChartKey
- func (x *BubbleChartSwapByIdRequest) GetOptions() *ChartOptions
- func (*BubbleChartSwapByIdRequest) ProtoMessage()
- func (x *BubbleChartSwapByIdRequest) ProtoReflect() protoreflect.Message
- func (x *BubbleChartSwapByIdRequest) Reset()
- func (x *BubbleChartSwapByIdRequest) String() string
- type BubbleChartSwapByIdResponse
- type BubbleChartSwapByRankRequest
- func (*BubbleChartSwapByRankRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BubbleChartSwapByRankRequest) GetKey() *ChartKey
- func (x *BubbleChartSwapByRankRequest) GetOptions() *ChartOptions
- func (x *BubbleChartSwapByRankRequest) GetRank0() int32
- func (x *BubbleChartSwapByRankRequest) GetRank1() int32
- func (*BubbleChartSwapByRankRequest) ProtoMessage()
- func (x *BubbleChartSwapByRankRequest) ProtoReflect() protoreflect.Message
- func (x *BubbleChartSwapByRankRequest) Reset()
- func (x *BubbleChartSwapByRankRequest) String() string
- type BubbleChartSwapByRankResponse
- func (*BubbleChartSwapByRankResponse) Descriptor() ([]byte, []int)deprecated
- func (*BubbleChartSwapByRankResponse) ProtoMessage()
- func (x *BubbleChartSwapByRankResponse) ProtoReflect() protoreflect.Message
- func (x *BubbleChartSwapByRankResponse) Reset()
- func (x *BubbleChartSwapByRankResponse) String() string
- type ChartEntry
- func (*ChartEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ChartEntry) GetId() string
- func (x *ChartEntry) GetInfo() string
- func (x *ChartEntry) GetRank() int32
- func (x *ChartEntry) GetScore() int64
- func (*ChartEntry) ProtoMessage()
- func (x *ChartEntry) ProtoReflect() protoreflect.Message
- func (x *ChartEntry) Reset()
- func (x *ChartEntry) String() string
- type ChartKey
- type ChartOptions
- func (*ChartOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ChartOptions) GetCapacity() int32
- func (x *ChartOptions) GetConstructFrom() *ChartKey
- func (x *ChartOptions) GetExpireAt() int64
- func (x *ChartOptions) GetIdleExpire() int64
- func (*ChartOptions) ProtoMessage()
- func (x *ChartOptions) ProtoReflect() protoreflect.Message
- func (x *ChartOptions) Reset()
- func (x *ChartOptions) String() string
- type DatabaseClient
- type DatabaseGetRequest
- func (*DatabaseGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseGetRequest) GetAddIfNotFound() *anypb.Any
- func (x *DatabaseGetRequest) GetKey() *EntryKey
- func (x *DatabaseGetRequest) GetLockOptions() *DistlockLockOptions
- func (*DatabaseGetRequest) ProtoMessage()
- func (x *DatabaseGetRequest) ProtoReflect() protoreflect.Message
- func (x *DatabaseGetRequest) Reset()
- func (x *DatabaseGetRequest) String() string
- type DatabaseGetResponse
- func (*DatabaseGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseGetResponse) GetData() *anypb.Any
- func (x *DatabaseGetResponse) GetLockToken() *anypb.Any
- func (x *DatabaseGetResponse) GetRevision() int64
- func (*DatabaseGetResponse) ProtoMessage()
- func (x *DatabaseGetResponse) ProtoReflect() protoreflect.Message
- func (x *DatabaseGetResponse) Reset()
- func (x *DatabaseGetResponse) String() string
- type DatabaseRegisterSchemaRequest
- func (*DatabaseRegisterSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseRegisterSchemaRequest) GetDescriptorSet() *descriptorpb.FileDescriptorSet
- func (x *DatabaseRegisterSchemaRequest) GetMessageName() string
- func (*DatabaseRegisterSchemaRequest) ProtoMessage()
- func (x *DatabaseRegisterSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *DatabaseRegisterSchemaRequest) Reset()
- func (x *DatabaseRegisterSchemaRequest) String() string
- type DatabaseRegisterSchemaResponse
- func (*DatabaseRegisterSchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseRegisterSchemaResponse) GetSchema() string
- func (*DatabaseRegisterSchemaResponse) ProtoMessage()
- func (x *DatabaseRegisterSchemaResponse) ProtoReflect() protoreflect.Message
- func (x *DatabaseRegisterSchemaResponse) Reset()
- func (x *DatabaseRegisterSchemaResponse) String() string
- type DatabaseServer
- type DatabaseSetRequest
- func (*DatabaseSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseSetRequest) GetData() *anypb.Any
- func (x *DatabaseSetRequest) GetKey() *EntryKey
- func (x *DatabaseSetRequest) GetLockToken() *anypb.Any
- func (x *DatabaseSetRequest) GetUnlockOptions() *DistlockUnlockOptions
- func (*DatabaseSetRequest) ProtoMessage()
- func (x *DatabaseSetRequest) ProtoReflect() protoreflect.Message
- func (x *DatabaseSetRequest) Reset()
- func (x *DatabaseSetRequest) String() string
- type DatabaseSetResponse
- func (*DatabaseSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseSetResponse) GetRevision() int64
- func (*DatabaseSetResponse) ProtoMessage()
- func (x *DatabaseSetResponse) ProtoReflect() protoreflect.Message
- func (x *DatabaseSetResponse) Reset()
- func (x *DatabaseSetResponse) String() string
- type DistlockClient
- type DistlockLockOptions
- func (*DistlockLockOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DistlockLockOptions) GetTimeoutMilliseconds() int32
- func (*DistlockLockOptions) ProtoMessage()
- func (x *DistlockLockOptions) ProtoReflect() protoreflect.Message
- func (x *DistlockLockOptions) Reset()
- func (x *DistlockLockOptions) String() string
- type DistlockLockRequest
- func (*DistlockLockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DistlockLockRequest) GetKey() *EntryKey
- func (x *DistlockLockRequest) GetLockOptions() *DistlockLockOptions
- func (*DistlockLockRequest) ProtoMessage()
- func (x *DistlockLockRequest) ProtoReflect() protoreflect.Message
- func (x *DistlockLockRequest) Reset()
- func (x *DistlockLockRequest) String() string
- type DistlockLockResponse
- func (*DistlockLockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DistlockLockResponse) GetLockToken() *anypb.Any
- func (*DistlockLockResponse) ProtoMessage()
- func (x *DistlockLockResponse) ProtoReflect() protoreflect.Message
- func (x *DistlockLockResponse) Reset()
- func (x *DistlockLockResponse) String() string
- type DistlockServer
- type DistlockUnlockOptions
- func (*DistlockUnlockOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DistlockUnlockOptions) GetEvenOnFailure() bool
- func (*DistlockUnlockOptions) ProtoMessage()
- func (x *DistlockUnlockOptions) ProtoReflect() protoreflect.Message
- func (x *DistlockUnlockOptions) Reset()
- func (x *DistlockUnlockOptions) String() string
- type DistlockUnlockRequest
- func (*DistlockUnlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DistlockUnlockRequest) GetKey() *EntryKey
- func (x *DistlockUnlockRequest) GetLockToken() *anypb.Any
- func (x *DistlockUnlockRequest) GetUnlockOptions() *DistlockUnlockOptions
- func (*DistlockUnlockRequest) ProtoMessage()
- func (x *DistlockUnlockRequest) ProtoReflect() protoreflect.Message
- func (x *DistlockUnlockRequest) Reset()
- func (x *DistlockUnlockRequest) String() string
- type DistlockUnlockResponse
- type EntryKey
- type GatewayBroadcastRequest
- func (*GatewayBroadcastRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayBroadcastRequest) GetData() *anypb.Any
- func (x *GatewayBroadcastRequest) GetKey() string
- func (*GatewayBroadcastRequest) ProtoMessage()
- func (x *GatewayBroadcastRequest) ProtoReflect() protoreflect.Message
- func (x *GatewayBroadcastRequest) Reset()
- func (x *GatewayBroadcastRequest) String() string
- type GatewayBroadcastResponse
- type GatewayClient
- type GatewayConnectRequest
- type GatewaySendRequest
- func (*GatewaySendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GatewaySendRequest) GetData() *anypb.Any
- func (*GatewaySendRequest) ProtoMessage()
- func (x *GatewaySendRequest) ProtoReflect() protoreflect.Message
- func (x *GatewaySendRequest) Reset()
- func (x *GatewaySendRequest) String() string
- type GatewaySendResponse
- type GatewayServer
- type GatewaySubscribeRequest
- func (*GatewaySubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GatewaySubscribeRequest) GetKeys() []string
- func (*GatewaySubscribeRequest) ProtoMessage()
- func (x *GatewaySubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *GatewaySubscribeRequest) Reset()
- func (x *GatewaySubscribeRequest) String() string
- type GatewaySubscribeResponse
- type GatewayUnsubscribeRequest
- func (*GatewayUnsubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayUnsubscribeRequest) GetKeys() []string
- func (*GatewayUnsubscribeRequest) ProtoMessage()
- func (x *GatewayUnsubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *GatewayUnsubscribeRequest) Reset()
- func (x *GatewayUnsubscribeRequest) String() string
- type GatewayUnsubscribeResponse
- type Gateway_ConnectClient
- type Gateway_ConnectServer
- type LeaderboardClient
- type LeaderboardGetByIdRequest
- func (*LeaderboardGetByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderboardGetByIdRequest) GetIds() []string
- func (x *LeaderboardGetByIdRequest) GetKey() *ChartKey
- func (x *LeaderboardGetByIdRequest) GetOptions() *ChartOptions
- func (*LeaderboardGetByIdRequest) ProtoMessage()
- func (x *LeaderboardGetByIdRequest) ProtoReflect() protoreflect.Message
- func (x *LeaderboardGetByIdRequest) Reset()
- func (x *LeaderboardGetByIdRequest) String() string
- type LeaderboardGetByIdResponse
- func (*LeaderboardGetByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderboardGetByIdResponse) GetEntries() []*ChartEntry
- func (*LeaderboardGetByIdResponse) ProtoMessage()
- func (x *LeaderboardGetByIdResponse) ProtoReflect() protoreflect.Message
- func (x *LeaderboardGetByIdResponse) Reset()
- func (x *LeaderboardGetByIdResponse) String() string
- type LeaderboardGetRangeRequest
- func (*LeaderboardGetRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderboardGetRangeRequest) GetCount() int32
- func (x *LeaderboardGetRangeRequest) GetKey() *ChartKey
- func (x *LeaderboardGetRangeRequest) GetOffset() int32
- func (x *LeaderboardGetRangeRequest) GetOptions() *ChartOptions
- func (*LeaderboardGetRangeRequest) ProtoMessage()
- func (x *LeaderboardGetRangeRequest) ProtoReflect() protoreflect.Message
- func (x *LeaderboardGetRangeRequest) Reset()
- func (x *LeaderboardGetRangeRequest) String() string
- type LeaderboardGetRangeResponse
- func (*LeaderboardGetRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderboardGetRangeResponse) GetEntries() []*ChartEntry
- func (*LeaderboardGetRangeResponse) ProtoMessage()
- func (x *LeaderboardGetRangeResponse) ProtoReflect() protoreflect.Message
- func (x *LeaderboardGetRangeResponse) Reset()
- func (x *LeaderboardGetRangeResponse) String() string
- type LeaderboardIncrScoreRequest
- func (*LeaderboardIncrScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderboardIncrScoreRequest) GetEntries() []*ChartEntry
- func (x *LeaderboardIncrScoreRequest) GetKey() *ChartKey
- func (x *LeaderboardIncrScoreRequest) GetOptions() *ChartOptions
- func (*LeaderboardIncrScoreRequest) ProtoMessage()
- func (x *LeaderboardIncrScoreRequest) ProtoReflect() protoreflect.Message
- func (x *LeaderboardIncrScoreRequest) Reset()
- func (x *LeaderboardIncrScoreRequest) String() string
- type LeaderboardIncrScoreResponse
- func (*LeaderboardIncrScoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderboardIncrScoreResponse) GetEntries() []*ChartEntry
- func (*LeaderboardIncrScoreResponse) ProtoMessage()
- func (x *LeaderboardIncrScoreResponse) ProtoReflect() protoreflect.Message
- func (x *LeaderboardIncrScoreResponse) Reset()
- func (x *LeaderboardIncrScoreResponse) String() string
- type LeaderboardRemoveByIdRequest
- func (*LeaderboardRemoveByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderboardRemoveByIdRequest) GetIds() []string
- func (x *LeaderboardRemoveByIdRequest) GetKey() *ChartKey
- func (x *LeaderboardRemoveByIdRequest) GetOptions() *ChartOptions
- func (*LeaderboardRemoveByIdRequest) ProtoMessage()
- func (x *LeaderboardRemoveByIdRequest) ProtoReflect() protoreflect.Message
- func (x *LeaderboardRemoveByIdRequest) Reset()
- func (x *LeaderboardRemoveByIdRequest) String() string
- type LeaderboardRemoveByIdResponse
- func (*LeaderboardRemoveByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (*LeaderboardRemoveByIdResponse) ProtoMessage()
- func (x *LeaderboardRemoveByIdResponse) ProtoReflect() protoreflect.Message
- func (x *LeaderboardRemoveByIdResponse) Reset()
- func (x *LeaderboardRemoveByIdResponse) String() string
- type LeaderboardServer
- type LeaderboardSetInfoRequest
- func (*LeaderboardSetInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderboardSetInfoRequest) GetEntries() []*ChartEntry
- func (x *LeaderboardSetInfoRequest) GetKey() *ChartKey
- func (x *LeaderboardSetInfoRequest) GetOptions() *ChartOptions
- func (*LeaderboardSetInfoRequest) ProtoMessage()
- func (x *LeaderboardSetInfoRequest) ProtoReflect() protoreflect.Message
- func (x *LeaderboardSetInfoRequest) Reset()
- func (x *LeaderboardSetInfoRequest) String() string
- type LeaderboardSetInfoResponse
- type LeaderboardSetScoreRequest
- func (*LeaderboardSetScoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderboardSetScoreRequest) GetEntries() []*ChartEntry
- func (x *LeaderboardSetScoreRequest) GetKey() *ChartKey
- func (x *LeaderboardSetScoreRequest) GetOptions() *ChartOptions
- func (*LeaderboardSetScoreRequest) ProtoMessage()
- func (x *LeaderboardSetScoreRequest) ProtoReflect() protoreflect.Message
- func (x *LeaderboardSetScoreRequest) Reset()
- func (x *LeaderboardSetScoreRequest) String() string
- type LeaderboardSetScoreResponse
- type LoginStateProperties
- func (*LoginStateProperties) Descriptor() ([]byte, []int)deprecated
- func (x *LoginStateProperties) GetTakeOverAcctIdIfDuplicated() bool
- func (*LoginStateProperties) ProtoMessage()
- func (x *LoginStateProperties) ProtoReflect() protoreflect.Message
- func (x *LoginStateProperties) Reset()
- func (x *LoginStateProperties) String() string
- type Mail
- type MailboxClient
- type MailboxListRequest
- func (*MailboxListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MailboxListRequest) GetKey() *EntryKey
- func (*MailboxListRequest) ProtoMessage()
- func (x *MailboxListRequest) ProtoReflect() protoreflect.Message
- func (x *MailboxListRequest) Reset()
- func (x *MailboxListRequest) String() string
- type MailboxListResponse
- func (*MailboxListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MailboxListResponse) GetMails() []*Mail
- func (*MailboxListResponse) ProtoMessage()
- func (x *MailboxListResponse) ProtoReflect() protoreflect.Message
- func (x *MailboxListResponse) Reset()
- func (x *MailboxListResponse) String() string
- type MailboxPullRequest
- func (*MailboxPullRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MailboxPullRequest) GetIds() []string
- func (x *MailboxPullRequest) GetKey() *EntryKey
- func (*MailboxPullRequest) ProtoMessage()
- func (x *MailboxPullRequest) ProtoReflect() protoreflect.Message
- func (x *MailboxPullRequest) Reset()
- func (x *MailboxPullRequest) String() string
- type MailboxPullResponse
- func (*MailboxPullResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MailboxPullResponse) GetPulledIds() []string
- func (*MailboxPullResponse) ProtoMessage()
- func (x *MailboxPullResponse) ProtoReflect() protoreflect.Message
- func (x *MailboxPullResponse) Reset()
- func (x *MailboxPullResponse) String() string
- type MailboxPushRequest
- func (*MailboxPushRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MailboxPushRequest) GetCapacity() int32
- func (x *MailboxPushRequest) GetData() *anypb.Any
- func (x *MailboxPushRequest) GetKey() *EntryKey
- func (*MailboxPushRequest) ProtoMessage()
- func (x *MailboxPushRequest) ProtoReflect() protoreflect.Message
- func (x *MailboxPushRequest) Reset()
- func (x *MailboxPushRequest) String() string
- type MailboxPushResponse
- func (*MailboxPushResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MailboxPushResponse) GetId() string
- func (*MailboxPushResponse) ProtoMessage()
- func (x *MailboxPushResponse) ProtoReflect() protoreflect.Message
- func (x *MailboxPushResponse) Reset()
- func (x *MailboxPushResponse) String() string
- type MailboxServer
- type RoleAdminClient
- type RoleAdminGetRequest
- func (*RoleAdminGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RoleAdminGetRequest) GetRoleIds() []string
- func (*RoleAdminGetRequest) ProtoMessage()
- func (x *RoleAdminGetRequest) ProtoReflect() protoreflect.Message
- func (x *RoleAdminGetRequest) Reset()
- func (x *RoleAdminGetRequest) String() string
- type RoleAdminGetResponse
- func (*RoleAdminGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RoleAdminGetResponse) GetRoles() []*RoleData
- func (*RoleAdminGetResponse) ProtoMessage()
- func (x *RoleAdminGetResponse) ProtoReflect() protoreflect.Message
- func (x *RoleAdminGetResponse) Reset()
- func (x *RoleAdminGetResponse) String() string
- type RoleAdminServer
- type RoleClient
- type RoleCreateRequest
- func (*RoleCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RoleCreateRequest) GetIndex() uint32
- func (x *RoleCreateRequest) GetMetadata() map[string]string
- func (*RoleCreateRequest) ProtoMessage()
- func (x *RoleCreateRequest) ProtoReflect() protoreflect.Message
- func (x *RoleCreateRequest) Reset()
- func (x *RoleCreateRequest) String() string
- type RoleCreateResponse
- func (*RoleCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RoleCreateResponse) GetRole() *RoleData
- func (*RoleCreateResponse) ProtoMessage()
- func (x *RoleCreateResponse) ProtoReflect() protoreflect.Message
- func (x *RoleCreateResponse) Reset()
- func (x *RoleCreateResponse) String() string
- type RoleData
- func (*RoleData) Descriptor() ([]byte, []int)deprecated
- func (x *RoleData) GetId() string
- func (x *RoleData) GetIndex() uint32
- func (x *RoleData) GetMetadata() map[string]string
- func (x *RoleData) GetUserId() string
- func (*RoleData) ProtoMessage()
- func (x *RoleData) ProtoReflect() protoreflect.Message
- func (x *RoleData) Reset()
- func (x *RoleData) String() string
- type RoleGetMetadataRequest
- func (*RoleGetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RoleGetMetadataRequest) GetKeys() []string
- func (x *RoleGetMetadataRequest) GetRoleId() string
- func (*RoleGetMetadataRequest) ProtoMessage()
- func (x *RoleGetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *RoleGetMetadataRequest) Reset()
- func (x *RoleGetMetadataRequest) String() string
- type RoleGetMetadataResponse
- func (*RoleGetMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RoleGetMetadataResponse) GetMetadata() map[string]string
- func (*RoleGetMetadataResponse) ProtoMessage()
- func (x *RoleGetMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *RoleGetMetadataResponse) Reset()
- func (x *RoleGetMetadataResponse) String() string
- type RoleListRequest
- type RoleListResponse
- type RoleServer
- type RoleSetMetadataRequest
- func (*RoleSetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RoleSetMetadataRequest) GetMetadata() map[string]string
- func (x *RoleSetMetadataRequest) GetRoleId() string
- func (*RoleSetMetadataRequest) ProtoMessage()
- func (x *RoleSetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *RoleSetMetadataRequest) Reset()
- func (x *RoleSetMetadataRequest) String() string
- type RoleSetMetadataResponse
- type RoleSignInRequest
- type RoleSignInResponse
- type SessionFeature
- func (*SessionFeature) Descriptor() ([]byte, []int)deprecated
- func (x *SessionFeature) GetKey() string
- func (x *SessionFeature) GetValue() string
- func (*SessionFeature) ProtoMessage()
- func (x *SessionFeature) ProtoReflect() protoreflect.Message
- func (x *SessionFeature) Reset()
- func (x *SessionFeature) String() string
- type UniformLoginState
- func (*UniformLoginState) Descriptor() ([]byte, []int)deprecated
- func (x *UniformLoginState) GetAcctIds() []string
- func (x *UniformLoginState) GetFeatures() []*SessionFeature
- func (x *UniformLoginState) GetNonce() string
- func (x *UniformLoginState) GetProperties() *LoginStateProperties
- func (x *UniformLoginState) GetSignature() string
- func (x *UniformLoginState) GetTimestamp() int64
- func (x *UniformLoginState) GetUserIp() string
- func (*UniformLoginState) ProtoMessage()
- func (x *UniformLoginState) ProtoReflect() protoreflect.Message
- func (x *UniformLoginState) Reset()
- func (x *UniformLoginState) String() string
- type UnimplementedBubbleChartServer
- func (UnimplementedBubbleChartServer) Append(context.Context, *BubbleChartAppendRequest) (*BubbleChartAppendResponse, error)
- func (UnimplementedBubbleChartServer) GetById(context.Context, *BubbleChartGetByIdRequest) (*BubbleChartGetByIdResponse, error)
- func (UnimplementedBubbleChartServer) GetRange(context.Context, *BubbleChartGetRangeRequest) (*BubbleChartGetRangeResponse, error)
- func (UnimplementedBubbleChartServer) RemoveById(context.Context, *BubbleChartRemoveByIdRequest) (*BubbleChartRemoveByIdResponse, error)
- func (UnimplementedBubbleChartServer) SetInfo(context.Context, *BubbleChartSetInfoRequest) (*BubbleChartSetInfoResponse, error)
- func (UnimplementedBubbleChartServer) SwapById(context.Context, *BubbleChartSwapByIdRequest) (*BubbleChartSwapByIdResponse, error)
- func (UnimplementedBubbleChartServer) SwapByRank(context.Context, *BubbleChartSwapByRankRequest) (*BubbleChartSwapByRankResponse, error)
- type UnimplementedDatabaseServer
- func (UnimplementedDatabaseServer) Get(context.Context, *DatabaseGetRequest) (*DatabaseGetResponse, error)
- func (UnimplementedDatabaseServer) RegisterSchema(context.Context, *DatabaseRegisterSchemaRequest) (*DatabaseRegisterSchemaResponse, error)
- func (UnimplementedDatabaseServer) Set(context.Context, *DatabaseSetRequest) (*DatabaseSetResponse, error)
- type UnimplementedDistlockServer
- type UnimplementedGatewayServer
- func (UnimplementedGatewayServer) Broadcast(context.Context, *GatewayBroadcastRequest) (*GatewayBroadcastResponse, error)
- func (UnimplementedGatewayServer) Connect(*GatewayConnectRequest, Gateway_ConnectServer) error
- func (UnimplementedGatewayServer) Send(context.Context, *GatewaySendRequest) (*GatewaySendResponse, error)
- func (UnimplementedGatewayServer) Subscribe(context.Context, *GatewaySubscribeRequest) (*GatewaySubscribeResponse, error)
- func (UnimplementedGatewayServer) Unsubscribe(context.Context, *GatewayUnsubscribeRequest) (*GatewayUnsubscribeResponse, error)
- type UnimplementedLeaderboardServer
- func (UnimplementedLeaderboardServer) GetById(context.Context, *LeaderboardGetByIdRequest) (*LeaderboardGetByIdResponse, error)
- func (UnimplementedLeaderboardServer) GetRange(context.Context, *LeaderboardGetRangeRequest) (*LeaderboardGetRangeResponse, error)
- func (UnimplementedLeaderboardServer) IncrScore(context.Context, *LeaderboardIncrScoreRequest) (*LeaderboardIncrScoreResponse, error)
- func (UnimplementedLeaderboardServer) RemoveById(context.Context, *LeaderboardRemoveByIdRequest) (*LeaderboardRemoveByIdResponse, error)
- func (UnimplementedLeaderboardServer) SetInfo(context.Context, *LeaderboardSetInfoRequest) (*LeaderboardSetInfoResponse, error)
- func (UnimplementedLeaderboardServer) SetScore(context.Context, *LeaderboardSetScoreRequest) (*LeaderboardSetScoreResponse, error)
- type UnimplementedMailboxServer
- func (UnimplementedMailboxServer) List(context.Context, *MailboxListRequest) (*MailboxListResponse, error)
- func (UnimplementedMailboxServer) Pull(context.Context, *MailboxPullRequest) (*MailboxPullResponse, error)
- func (UnimplementedMailboxServer) Push(context.Context, *MailboxPushRequest) (*MailboxPushResponse, error)
- type UnimplementedRoleAdminServer
- type UnimplementedRoleServer
- func (UnimplementedRoleServer) Create(context.Context, *RoleCreateRequest) (*RoleCreateResponse, error)
- func (UnimplementedRoleServer) GetMetadata(context.Context, *RoleGetMetadataRequest) (*RoleGetMetadataResponse, error)
- func (UnimplementedRoleServer) List(context.Context, *RoleListRequest) (*RoleListResponse, error)
- func (UnimplementedRoleServer) SetMetadata(context.Context, *RoleSetMetadataRequest) (*RoleSetMetadataResponse, error)
- func (UnimplementedRoleServer) SignIn(context.Context, *RoleSignInRequest) (*RoleSignInResponse, error)
- type UnimplementedUserAdminServer
- func (UnimplementedUserAdminServer) Ban(context.Context, *UserAdminBanRequest) (*UserAdminBanResponse, error)
- func (UnimplementedUserAdminServer) BindAcctId(context.Context, *UserAdminBindAcctIdRequest) (*UserAdminBindAcctIdResponse, error)
- func (UnimplementedUserAdminServer) Get(context.Context, *UserAdminGetRequest) (*UserAdminGetResponse, error)
- func (UnimplementedUserAdminServer) GetMetadata(context.Context, *UserAdminGetMetadataRequest) (*UserAdminGetMetadataResponse, error)
- func (UnimplementedUserAdminServer) SetMetadata(context.Context, *UserAdminSetMetadataRequest) (*UserAdminSetMetadataResponse, error)
- type UnimplementedUserServer
- func (UnimplementedUserServer) Bind(context.Context, *UserBindRequest) (*UserBindResponse, error)
- func (UnimplementedUserServer) GetMetadata(context.Context, *UserGetMetadataRequest) (*UserGetMetadataResponse, error)
- func (UnimplementedUserServer) Login(context.Context, *UserLoginRequest) (*UserLoginResponse, error)
- func (UnimplementedUserServer) Logout(context.Context, *UserLogoutRequest) (*UserLogoutResponse, error)
- func (UnimplementedUserServer) SetMetadata(context.Context, *UserSetMetadataRequest) (*UserSetMetadataResponse, error)
- func (UnimplementedUserServer) Unbind(context.Context, *UserUnbindRequest) (*UserUnbindResponse, error)
- type UnsafeBubbleChartServer
- type UnsafeDatabaseServer
- type UnsafeDistlockServer
- type UnsafeGatewayServer
- type UnsafeLeaderboardServer
- type UnsafeMailboxServer
- type UnsafeRoleAdminServer
- type UnsafeRoleServer
- type UnsafeUserAdminServer
- type UnsafeUserServer
- type UserAdminBanRequest
- func (*UserAdminBanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserAdminBanRequest) GetBanFor() string
- func (x *UserAdminBanRequest) GetBanSeconds() int64
- func (x *UserAdminBanRequest) GetUserIds() []string
- func (*UserAdminBanRequest) ProtoMessage()
- func (x *UserAdminBanRequest) ProtoReflect() protoreflect.Message
- func (x *UserAdminBanRequest) Reset()
- func (x *UserAdminBanRequest) String() string
- type UserAdminBanResponse
- func (*UserAdminBanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserAdminBanResponse) GetStates() []*UserBanState
- func (*UserAdminBanResponse) ProtoMessage()
- func (x *UserAdminBanResponse) ProtoReflect() protoreflect.Message
- func (x *UserAdminBanResponse) Reset()
- func (x *UserAdminBanResponse) String() string
- type UserAdminBindAcctIdRequest
- func (*UserAdminBindAcctIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserAdminBindAcctIdRequest) GetAcctIds() []string
- func (x *UserAdminBindAcctIdRequest) GetTakeOverAcctIdIfDuplicated() bool
- func (x *UserAdminBindAcctIdRequest) GetUserId() string
- func (*UserAdminBindAcctIdRequest) ProtoMessage()
- func (x *UserAdminBindAcctIdRequest) ProtoReflect() protoreflect.Message
- func (x *UserAdminBindAcctIdRequest) Reset()
- func (x *UserAdminBindAcctIdRequest) String() string
- type UserAdminBindAcctIdResponse
- type UserAdminClient
- type UserAdminGetMetadataRequest
- func (*UserAdminGetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserAdminGetMetadataRequest) GetUserId() string
- func (*UserAdminGetMetadataRequest) ProtoMessage()
- func (x *UserAdminGetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *UserAdminGetMetadataRequest) Reset()
- func (x *UserAdminGetMetadataRequest) String() string
- type UserAdminGetMetadataResponse
- func (*UserAdminGetMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserAdminGetMetadataResponse) GetMetadata() map[string]string
- func (*UserAdminGetMetadataResponse) ProtoMessage()
- func (x *UserAdminGetMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *UserAdminGetMetadataResponse) Reset()
- func (x *UserAdminGetMetadataResponse) String() string
- type UserAdminGetRequest
- func (*UserAdminGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserAdminGetRequest) GetUserIds() []string
- func (*UserAdminGetRequest) ProtoMessage()
- func (x *UserAdminGetRequest) ProtoReflect() protoreflect.Message
- func (x *UserAdminGetRequest) Reset()
- func (x *UserAdminGetRequest) String() string
- type UserAdminGetResponse
- func (*UserAdminGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserAdminGetResponse) GetUsers() []*UserData
- func (*UserAdminGetResponse) ProtoMessage()
- func (x *UserAdminGetResponse) ProtoReflect() protoreflect.Message
- func (x *UserAdminGetResponse) Reset()
- func (x *UserAdminGetResponse) String() string
- type UserAdminServer
- type UserAdminSetMetadataRequest
- func (*UserAdminSetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserAdminSetMetadataRequest) GetMetadata() map[string]string
- func (x *UserAdminSetMetadataRequest) GetUserId() string
- func (*UserAdminSetMetadataRequest) ProtoMessage()
- func (x *UserAdminSetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *UserAdminSetMetadataRequest) Reset()
- func (x *UserAdminSetMetadataRequest) String() string
- type UserAdminSetMetadataResponse
- func (*UserAdminSetMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (*UserAdminSetMetadataResponse) ProtoMessage()
- func (x *UserAdminSetMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *UserAdminSetMetadataResponse) Reset()
- func (x *UserAdminSetMetadataResponse) String() string
- type UserBanState
- func (*UserBanState) Descriptor() ([]byte, []int)deprecated
- func (x *UserBanState) GetBanFor() string
- func (x *UserBanState) GetBanTo() int64
- func (x *UserBanState) GetId() string
- func (*UserBanState) ProtoMessage()
- func (x *UserBanState) ProtoReflect() protoreflect.Message
- func (x *UserBanState) Reset()
- func (x *UserBanState) String() string
- type UserBindRequest
- type UserBindResponse
- type UserClient
- type UserData
- func (*UserData) Descriptor() ([]byte, []int)deprecated
- func (x *UserData) GetAcctIds() []string
- func (x *UserData) GetId() string
- func (x *UserData) GetMetadata() map[string]string
- func (*UserData) ProtoMessage()
- func (x *UserData) ProtoReflect() protoreflect.Message
- func (x *UserData) Reset()
- func (x *UserData) String() string
- type UserGetMetadataRequest
- func (*UserGetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserGetMetadataRequest) GetKeys() []string
- func (*UserGetMetadataRequest) ProtoMessage()
- func (x *UserGetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *UserGetMetadataRequest) Reset()
- func (x *UserGetMetadataRequest) String() string
- type UserGetMetadataResponse
- func (*UserGetMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserGetMetadataResponse) GetMetadata() map[string]string
- func (*UserGetMetadataResponse) ProtoMessage()
- func (x *UserGetMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *UserGetMetadataResponse) Reset()
- func (x *UserGetMetadataResponse) String() string
- type UserLoginRequest
- func (*UserLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserLoginRequest) GetAppId() string
- func (x *UserLoginRequest) GetCreateIfNotFound() bool
- func (x *UserLoginRequest) GetState() *anypb.Any
- func (*UserLoginRequest) ProtoMessage()
- func (x *UserLoginRequest) ProtoReflect() protoreflect.Message
- func (x *UserLoginRequest) Reset()
- func (x *UserLoginRequest) String() string
- type UserLoginResponse
- type UserLogoutRequest
- type UserLogoutResponse
- type UserServer
- type UserSetMetadataRequest
- func (*UserSetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserSetMetadataRequest) GetMetadata() map[string]string
- func (*UserSetMetadataRequest) ProtoMessage()
- func (x *UserSetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *UserSetMetadataRequest) Reset()
- func (x *UserSetMetadataRequest) String() string
- type UserSetMetadataResponse
- type UserUnbindRequest
- type UserUnbindResponse
- func (*UserUnbindResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserUnbindResponse) GetAcctIds() []string
- func (*UserUnbindResponse) ProtoMessage()
- func (x *UserUnbindResponse) ProtoReflect() protoreflect.Message
- func (x *UserUnbindResponse) Reset()
- func (x *UserUnbindResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var BubbleChart_ServiceDesc = grpc.ServiceDesc{ ServiceName: "libra.v1.BubbleChart", HandlerType: (*BubbleChartServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Append", Handler: _BubbleChart_Append_Handler, }, { MethodName: "SwapById", Handler: _BubbleChart_SwapById_Handler, }, { MethodName: "SwapByRank", Handler: _BubbleChart_SwapByRank_Handler, }, { MethodName: "GetRange", Handler: _BubbleChart_GetRange_Handler, }, { MethodName: "GetById", Handler: _BubbleChart_GetById_Handler, }, { MethodName: "RemoveById", Handler: _BubbleChart_RemoveById_Handler, }, { MethodName: "SetInfo", Handler: _BubbleChart_SetInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "libra/v1/bubblechart.proto", }
BubbleChart_ServiceDesc is the grpc.ServiceDesc for BubbleChart service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Database_ServiceDesc = grpc.ServiceDesc{ ServiceName: "libra.v1.Database", HandlerType: (*DatabaseServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterSchema", Handler: _Database_RegisterSchema_Handler, }, { MethodName: "Get", Handler: _Database_Get_Handler, }, { MethodName: "Set", Handler: _Database_Set_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "libra/v1/database.proto", }
Database_ServiceDesc is the grpc.ServiceDesc for Database service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Distlock_ServiceDesc = grpc.ServiceDesc{ ServiceName: "libra.v1.Distlock", HandlerType: (*DistlockServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Lock", Handler: _Distlock_Lock_Handler, }, { MethodName: "Unlock", Handler: _Distlock_Unlock_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "libra/v1/distlock.proto", }
Distlock_ServiceDesc is the grpc.ServiceDesc for Distlock service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_libra_v1_bubblechart_proto protoreflect.FileDescriptor
var File_libra_v1_chart_proto protoreflect.FileDescriptor
var File_libra_v1_database_proto protoreflect.FileDescriptor
var File_libra_v1_distlock_proto protoreflect.FileDescriptor
var File_libra_v1_entrykey_proto protoreflect.FileDescriptor
var File_libra_v1_gateway_proto protoreflect.FileDescriptor
var File_libra_v1_leaderboard_proto protoreflect.FileDescriptor
var File_libra_v1_mailbox_proto protoreflect.FileDescriptor
var File_libra_v1_role_proto protoreflect.FileDescriptor
var File_libra_v1_roleadmin_proto protoreflect.FileDescriptor
var File_libra_v1_user_proto protoreflect.FileDescriptor
var File_libra_v1_useradmin_proto protoreflect.FileDescriptor
var Gateway_ServiceDesc = grpc.ServiceDesc{ ServiceName: "libra.v1.Gateway", HandlerType: (*GatewayServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Send", Handler: _Gateway_Send_Handler, }, { MethodName: "Subscribe", Handler: _Gateway_Subscribe_Handler, }, { MethodName: "Unsubscribe", Handler: _Gateway_Unsubscribe_Handler, }, { MethodName: "Broadcast", Handler: _Gateway_Broadcast_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Connect", Handler: _Gateway_Connect_Handler, ServerStreams: true, }, }, Metadata: "libra/v1/gateway.proto", }
Gateway_ServiceDesc is the grpc.ServiceDesc for Gateway service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Leaderboard_ServiceDesc = grpc.ServiceDesc{ ServiceName: "libra.v1.Leaderboard", HandlerType: (*LeaderboardServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetScore", Handler: _Leaderboard_SetScore_Handler, }, { MethodName: "IncrScore", Handler: _Leaderboard_IncrScore_Handler, }, { MethodName: "GetRange", Handler: _Leaderboard_GetRange_Handler, }, { MethodName: "GetById", Handler: _Leaderboard_GetById_Handler, }, { MethodName: "RemoveById", Handler: _Leaderboard_RemoveById_Handler, }, { MethodName: "SetInfo", Handler: _Leaderboard_SetInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "libra/v1/leaderboard.proto", }
Leaderboard_ServiceDesc is the grpc.ServiceDesc for Leaderboard service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Mailbox_ServiceDesc = grpc.ServiceDesc{ ServiceName: "libra.v1.Mailbox", HandlerType: (*MailboxServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Mailbox_List_Handler, }, { MethodName: "Push", Handler: _Mailbox_Push_Handler, }, { MethodName: "Pull", Handler: _Mailbox_Pull_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "libra/v1/mailbox.proto", }
Mailbox_ServiceDesc is the grpc.ServiceDesc for Mailbox service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RoleAdmin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "libra.v1.RoleAdmin", HandlerType: (*RoleAdminServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _RoleAdmin_Get_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "libra/v1/roleadmin.proto", }
RoleAdmin_ServiceDesc is the grpc.ServiceDesc for RoleAdmin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Role_ServiceDesc = grpc.ServiceDesc{ ServiceName: "libra.v1.Role", HandlerType: (*RoleServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Role_List_Handler, }, { MethodName: "Create", Handler: _Role_Create_Handler, }, { MethodName: "SignIn", Handler: _Role_SignIn_Handler, }, { MethodName: "SetMetadata", Handler: _Role_SetMetadata_Handler, }, { MethodName: "GetMetadata", Handler: _Role_GetMetadata_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "libra/v1/role.proto", }
Role_ServiceDesc is the grpc.ServiceDesc for Role service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserAdmin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "libra.v1.UserAdmin", HandlerType: (*UserAdminServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetMetadata", Handler: _UserAdmin_SetMetadata_Handler, }, { MethodName: "GetMetadata", Handler: _UserAdmin_GetMetadata_Handler, }, { MethodName: "Get", Handler: _UserAdmin_Get_Handler, }, { MethodName: "Ban", Handler: _UserAdmin_Ban_Handler, }, { MethodName: "BindAcctId", Handler: _UserAdmin_BindAcctId_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "libra/v1/useradmin.proto", }
UserAdmin_ServiceDesc is the grpc.ServiceDesc for UserAdmin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var User_ServiceDesc = grpc.ServiceDesc{ ServiceName: "libra.v1.User", HandlerType: (*UserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _User_Login_Handler, }, { MethodName: "Logout", Handler: _User_Logout_Handler, }, { MethodName: "Bind", Handler: _User_Bind_Handler, }, { MethodName: "Unbind", Handler: _User_Unbind_Handler, }, { MethodName: "SetMetadata", Handler: _User_SetMetadata_Handler, }, { MethodName: "GetMetadata", Handler: _User_GetMetadata_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "libra/v1/user.proto", }
User_ServiceDesc is the grpc.ServiceDesc for User service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterBubbleChartServer ¶
func RegisterBubbleChartServer(s grpc.ServiceRegistrar, srv BubbleChartServer)
func RegisterDatabaseServer ¶
func RegisterDatabaseServer(s grpc.ServiceRegistrar, srv DatabaseServer)
func RegisterDistlockServer ¶
func RegisterDistlockServer(s grpc.ServiceRegistrar, srv DistlockServer)
func RegisterGatewayServer ¶
func RegisterGatewayServer(s grpc.ServiceRegistrar, srv GatewayServer)
func RegisterLeaderboardServer ¶
func RegisterLeaderboardServer(s grpc.ServiceRegistrar, srv LeaderboardServer)
func RegisterMailboxServer ¶
func RegisterMailboxServer(s grpc.ServiceRegistrar, srv MailboxServer)
func RegisterRoleAdminServer ¶
func RegisterRoleAdminServer(s grpc.ServiceRegistrar, srv RoleAdminServer)
func RegisterRoleServer ¶
func RegisterRoleServer(s grpc.ServiceRegistrar, srv RoleServer)
func RegisterUserAdminServer ¶
func RegisterUserAdminServer(s grpc.ServiceRegistrar, srv UserAdminServer)
func RegisterUserServer ¶
func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
Types ¶
type BubbleChartAppendRequest ¶
type BubbleChartAppendRequest struct { Entries []*ChartEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*BubbleChartAppendRequest) Descriptor
deprecated
func (*BubbleChartAppendRequest) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartAppendRequest.ProtoReflect.Descriptor instead.
func (*BubbleChartAppendRequest) GetEntries ¶
func (x *BubbleChartAppendRequest) GetEntries() []*ChartEntry
func (*BubbleChartAppendRequest) GetKey ¶
func (x *BubbleChartAppendRequest) GetKey() *ChartKey
func (*BubbleChartAppendRequest) GetOptions ¶
func (x *BubbleChartAppendRequest) GetOptions() *ChartOptions
func (*BubbleChartAppendRequest) ProtoMessage ¶
func (*BubbleChartAppendRequest) ProtoMessage()
func (*BubbleChartAppendRequest) ProtoReflect ¶
func (x *BubbleChartAppendRequest) ProtoReflect() protoreflect.Message
func (*BubbleChartAppendRequest) Reset ¶
func (x *BubbleChartAppendRequest) Reset()
func (*BubbleChartAppendRequest) String ¶
func (x *BubbleChartAppendRequest) String() string
type BubbleChartAppendResponse ¶
type BubbleChartAppendResponse struct {
// contains filtered or unexported fields
}
func (*BubbleChartAppendResponse) Descriptor
deprecated
func (*BubbleChartAppendResponse) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartAppendResponse.ProtoReflect.Descriptor instead.
func (*BubbleChartAppendResponse) ProtoMessage ¶
func (*BubbleChartAppendResponse) ProtoMessage()
func (*BubbleChartAppendResponse) ProtoReflect ¶
func (x *BubbleChartAppendResponse) ProtoReflect() protoreflect.Message
func (*BubbleChartAppendResponse) Reset ¶
func (x *BubbleChartAppendResponse) Reset()
func (*BubbleChartAppendResponse) String ¶
func (x *BubbleChartAppendResponse) String() string
type BubbleChartClient ¶
type BubbleChartClient interface { // append entries to the end of chart Append(ctx context.Context, in *BubbleChartAppendRequest, opts ...grpc.CallOption) (*BubbleChartAppendResponse, error) // swap 2 entries by id SwapById(ctx context.Context, in *BubbleChartSwapByIdRequest, opts ...grpc.CallOption) (*BubbleChartSwapByIdResponse, error) // swap 2 entries by rank SwapByRank(ctx context.Context, in *BubbleChartSwapByRankRequest, opts ...grpc.CallOption) (*BubbleChartSwapByRankResponse, error) // get entries by range GetRange(ctx context.Context, in *BubbleChartGetRangeRequest, opts ...grpc.CallOption) (*BubbleChartGetRangeResponse, error) // get entries by id GetById(ctx context.Context, in *BubbleChartGetByIdRequest, opts ...grpc.CallOption) (*BubbleChartGetByIdResponse, error) // remove entries by id RemoveById(ctx context.Context, in *BubbleChartRemoveByIdRequest, opts ...grpc.CallOption) (*BubbleChartRemoveByIdResponse, error) // set entry info by id SetInfo(ctx context.Context, in *BubbleChartSetInfoRequest, opts ...grpc.CallOption) (*BubbleChartSetInfoResponse, error) }
BubbleChartClient is the client API for BubbleChart service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBubbleChartClient ¶
func NewBubbleChartClient(cc grpc.ClientConnInterface) BubbleChartClient
type BubbleChartGetByIdRequest ¶
type BubbleChartGetByIdRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*BubbleChartGetByIdRequest) Descriptor
deprecated
func (*BubbleChartGetByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartGetByIdRequest.ProtoReflect.Descriptor instead.
func (*BubbleChartGetByIdRequest) GetIds ¶
func (x *BubbleChartGetByIdRequest) GetIds() []string
func (*BubbleChartGetByIdRequest) GetKey ¶
func (x *BubbleChartGetByIdRequest) GetKey() *ChartKey
func (*BubbleChartGetByIdRequest) GetOptions ¶
func (x *BubbleChartGetByIdRequest) GetOptions() *ChartOptions
func (*BubbleChartGetByIdRequest) ProtoMessage ¶
func (*BubbleChartGetByIdRequest) ProtoMessage()
func (*BubbleChartGetByIdRequest) ProtoReflect ¶
func (x *BubbleChartGetByIdRequest) ProtoReflect() protoreflect.Message
func (*BubbleChartGetByIdRequest) Reset ¶
func (x *BubbleChartGetByIdRequest) Reset()
func (*BubbleChartGetByIdRequest) String ¶
func (x *BubbleChartGetByIdRequest) String() string
type BubbleChartGetByIdResponse ¶
type BubbleChartGetByIdResponse struct { Entries []*ChartEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*BubbleChartGetByIdResponse) Descriptor
deprecated
func (*BubbleChartGetByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartGetByIdResponse.ProtoReflect.Descriptor instead.
func (*BubbleChartGetByIdResponse) GetEntries ¶
func (x *BubbleChartGetByIdResponse) GetEntries() []*ChartEntry
func (*BubbleChartGetByIdResponse) ProtoMessage ¶
func (*BubbleChartGetByIdResponse) ProtoMessage()
func (*BubbleChartGetByIdResponse) ProtoReflect ¶
func (x *BubbleChartGetByIdResponse) ProtoReflect() protoreflect.Message
func (*BubbleChartGetByIdResponse) Reset ¶
func (x *BubbleChartGetByIdResponse) Reset()
func (*BubbleChartGetByIdResponse) String ¶
func (x *BubbleChartGetByIdResponse) String() string
type BubbleChartGetRangeRequest ¶
type BubbleChartGetRangeRequest struct { Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*BubbleChartGetRangeRequest) Descriptor
deprecated
func (*BubbleChartGetRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartGetRangeRequest.ProtoReflect.Descriptor instead.
func (*BubbleChartGetRangeRequest) GetCount ¶
func (x *BubbleChartGetRangeRequest) GetCount() int32
func (*BubbleChartGetRangeRequest) GetKey ¶
func (x *BubbleChartGetRangeRequest) GetKey() *ChartKey
func (*BubbleChartGetRangeRequest) GetOffset ¶
func (x *BubbleChartGetRangeRequest) GetOffset() int32
func (*BubbleChartGetRangeRequest) GetOptions ¶
func (x *BubbleChartGetRangeRequest) GetOptions() *ChartOptions
func (*BubbleChartGetRangeRequest) ProtoMessage ¶
func (*BubbleChartGetRangeRequest) ProtoMessage()
func (*BubbleChartGetRangeRequest) ProtoReflect ¶
func (x *BubbleChartGetRangeRequest) ProtoReflect() protoreflect.Message
func (*BubbleChartGetRangeRequest) Reset ¶
func (x *BubbleChartGetRangeRequest) Reset()
func (*BubbleChartGetRangeRequest) String ¶
func (x *BubbleChartGetRangeRequest) String() string
type BubbleChartGetRangeResponse ¶
type BubbleChartGetRangeResponse struct { Entries []*ChartEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*BubbleChartGetRangeResponse) Descriptor
deprecated
func (*BubbleChartGetRangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartGetRangeResponse.ProtoReflect.Descriptor instead.
func (*BubbleChartGetRangeResponse) GetEntries ¶
func (x *BubbleChartGetRangeResponse) GetEntries() []*ChartEntry
func (*BubbleChartGetRangeResponse) ProtoMessage ¶
func (*BubbleChartGetRangeResponse) ProtoMessage()
func (*BubbleChartGetRangeResponse) ProtoReflect ¶
func (x *BubbleChartGetRangeResponse) ProtoReflect() protoreflect.Message
func (*BubbleChartGetRangeResponse) Reset ¶
func (x *BubbleChartGetRangeResponse) Reset()
func (*BubbleChartGetRangeResponse) String ¶
func (x *BubbleChartGetRangeResponse) String() string
type BubbleChartRemoveByIdRequest ¶
type BubbleChartRemoveByIdRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*BubbleChartRemoveByIdRequest) Descriptor
deprecated
func (*BubbleChartRemoveByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartRemoveByIdRequest.ProtoReflect.Descriptor instead.
func (*BubbleChartRemoveByIdRequest) GetIds ¶
func (x *BubbleChartRemoveByIdRequest) GetIds() []string
func (*BubbleChartRemoveByIdRequest) GetKey ¶
func (x *BubbleChartRemoveByIdRequest) GetKey() *ChartKey
func (*BubbleChartRemoveByIdRequest) GetOptions ¶
func (x *BubbleChartRemoveByIdRequest) GetOptions() *ChartOptions
func (*BubbleChartRemoveByIdRequest) ProtoMessage ¶
func (*BubbleChartRemoveByIdRequest) ProtoMessage()
func (*BubbleChartRemoveByIdRequest) ProtoReflect ¶
func (x *BubbleChartRemoveByIdRequest) ProtoReflect() protoreflect.Message
func (*BubbleChartRemoveByIdRequest) Reset ¶
func (x *BubbleChartRemoveByIdRequest) Reset()
func (*BubbleChartRemoveByIdRequest) String ¶
func (x *BubbleChartRemoveByIdRequest) String() string
type BubbleChartRemoveByIdResponse ¶
type BubbleChartRemoveByIdResponse struct {
// contains filtered or unexported fields
}
func (*BubbleChartRemoveByIdResponse) Descriptor
deprecated
func (*BubbleChartRemoveByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartRemoveByIdResponse.ProtoReflect.Descriptor instead.
func (*BubbleChartRemoveByIdResponse) ProtoMessage ¶
func (*BubbleChartRemoveByIdResponse) ProtoMessage()
func (*BubbleChartRemoveByIdResponse) ProtoReflect ¶
func (x *BubbleChartRemoveByIdResponse) ProtoReflect() protoreflect.Message
func (*BubbleChartRemoveByIdResponse) Reset ¶
func (x *BubbleChartRemoveByIdResponse) Reset()
func (*BubbleChartRemoveByIdResponse) String ¶
func (x *BubbleChartRemoveByIdResponse) String() string
type BubbleChartServer ¶
type BubbleChartServer interface { // append entries to the end of chart Append(context.Context, *BubbleChartAppendRequest) (*BubbleChartAppendResponse, error) // swap 2 entries by id SwapById(context.Context, *BubbleChartSwapByIdRequest) (*BubbleChartSwapByIdResponse, error) // swap 2 entries by rank SwapByRank(context.Context, *BubbleChartSwapByRankRequest) (*BubbleChartSwapByRankResponse, error) // get entries by range GetRange(context.Context, *BubbleChartGetRangeRequest) (*BubbleChartGetRangeResponse, error) // get entries by id GetById(context.Context, *BubbleChartGetByIdRequest) (*BubbleChartGetByIdResponse, error) // remove entries by id RemoveById(context.Context, *BubbleChartRemoveByIdRequest) (*BubbleChartRemoveByIdResponse, error) // set entry info by id SetInfo(context.Context, *BubbleChartSetInfoRequest) (*BubbleChartSetInfoResponse, error) // contains filtered or unexported methods }
BubbleChartServer is the server API for BubbleChart service. All implementations must embed UnimplementedBubbleChartServer for forward compatibility
type BubbleChartSetInfoRequest ¶
type BubbleChartSetInfoRequest struct { Entries []*ChartEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*BubbleChartSetInfoRequest) Descriptor
deprecated
func (*BubbleChartSetInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartSetInfoRequest.ProtoReflect.Descriptor instead.
func (*BubbleChartSetInfoRequest) GetEntries ¶
func (x *BubbleChartSetInfoRequest) GetEntries() []*ChartEntry
func (*BubbleChartSetInfoRequest) GetKey ¶
func (x *BubbleChartSetInfoRequest) GetKey() *ChartKey
func (*BubbleChartSetInfoRequest) GetOptions ¶
func (x *BubbleChartSetInfoRequest) GetOptions() *ChartOptions
func (*BubbleChartSetInfoRequest) ProtoMessage ¶
func (*BubbleChartSetInfoRequest) ProtoMessage()
func (*BubbleChartSetInfoRequest) ProtoReflect ¶
func (x *BubbleChartSetInfoRequest) ProtoReflect() protoreflect.Message
func (*BubbleChartSetInfoRequest) Reset ¶
func (x *BubbleChartSetInfoRequest) Reset()
func (*BubbleChartSetInfoRequest) String ¶
func (x *BubbleChartSetInfoRequest) String() string
type BubbleChartSetInfoResponse ¶
type BubbleChartSetInfoResponse struct {
// contains filtered or unexported fields
}
func (*BubbleChartSetInfoResponse) Descriptor
deprecated
func (*BubbleChartSetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartSetInfoResponse.ProtoReflect.Descriptor instead.
func (*BubbleChartSetInfoResponse) ProtoMessage ¶
func (*BubbleChartSetInfoResponse) ProtoMessage()
func (*BubbleChartSetInfoResponse) ProtoReflect ¶
func (x *BubbleChartSetInfoResponse) ProtoReflect() protoreflect.Message
func (*BubbleChartSetInfoResponse) Reset ¶
func (x *BubbleChartSetInfoResponse) Reset()
func (*BubbleChartSetInfoResponse) String ¶
func (x *BubbleChartSetInfoResponse) String() string
type BubbleChartSwapByIdRequest ¶
type BubbleChartSwapByIdRequest struct { Id0 string `protobuf:"bytes,1,opt,name=id0,proto3" json:"id0,omitempty"` Id1 string `protobuf:"bytes,2,opt,name=id1,proto3" json:"id1,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*BubbleChartSwapByIdRequest) Descriptor
deprecated
func (*BubbleChartSwapByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartSwapByIdRequest.ProtoReflect.Descriptor instead.
func (*BubbleChartSwapByIdRequest) GetId0 ¶
func (x *BubbleChartSwapByIdRequest) GetId0() string
func (*BubbleChartSwapByIdRequest) GetId1 ¶
func (x *BubbleChartSwapByIdRequest) GetId1() string
func (*BubbleChartSwapByIdRequest) GetKey ¶
func (x *BubbleChartSwapByIdRequest) GetKey() *ChartKey
func (*BubbleChartSwapByIdRequest) GetOptions ¶
func (x *BubbleChartSwapByIdRequest) GetOptions() *ChartOptions
func (*BubbleChartSwapByIdRequest) ProtoMessage ¶
func (*BubbleChartSwapByIdRequest) ProtoMessage()
func (*BubbleChartSwapByIdRequest) ProtoReflect ¶
func (x *BubbleChartSwapByIdRequest) ProtoReflect() protoreflect.Message
func (*BubbleChartSwapByIdRequest) Reset ¶
func (x *BubbleChartSwapByIdRequest) Reset()
func (*BubbleChartSwapByIdRequest) String ¶
func (x *BubbleChartSwapByIdRequest) String() string
type BubbleChartSwapByIdResponse ¶
type BubbleChartSwapByIdResponse struct {
// contains filtered or unexported fields
}
func (*BubbleChartSwapByIdResponse) Descriptor
deprecated
func (*BubbleChartSwapByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartSwapByIdResponse.ProtoReflect.Descriptor instead.
func (*BubbleChartSwapByIdResponse) ProtoMessage ¶
func (*BubbleChartSwapByIdResponse) ProtoMessage()
func (*BubbleChartSwapByIdResponse) ProtoReflect ¶
func (x *BubbleChartSwapByIdResponse) ProtoReflect() protoreflect.Message
func (*BubbleChartSwapByIdResponse) Reset ¶
func (x *BubbleChartSwapByIdResponse) Reset()
func (*BubbleChartSwapByIdResponse) String ¶
func (x *BubbleChartSwapByIdResponse) String() string
type BubbleChartSwapByRankRequest ¶
type BubbleChartSwapByRankRequest struct { Rank0 int32 `protobuf:"varint,1,opt,name=rank0,proto3" json:"rank0,omitempty"` Rank1 int32 `protobuf:"varint,2,opt,name=rank1,proto3" json:"rank1,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*BubbleChartSwapByRankRequest) Descriptor
deprecated
func (*BubbleChartSwapByRankRequest) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartSwapByRankRequest.ProtoReflect.Descriptor instead.
func (*BubbleChartSwapByRankRequest) GetKey ¶
func (x *BubbleChartSwapByRankRequest) GetKey() *ChartKey
func (*BubbleChartSwapByRankRequest) GetOptions ¶
func (x *BubbleChartSwapByRankRequest) GetOptions() *ChartOptions
func (*BubbleChartSwapByRankRequest) GetRank0 ¶
func (x *BubbleChartSwapByRankRequest) GetRank0() int32
func (*BubbleChartSwapByRankRequest) GetRank1 ¶
func (x *BubbleChartSwapByRankRequest) GetRank1() int32
func (*BubbleChartSwapByRankRequest) ProtoMessage ¶
func (*BubbleChartSwapByRankRequest) ProtoMessage()
func (*BubbleChartSwapByRankRequest) ProtoReflect ¶
func (x *BubbleChartSwapByRankRequest) ProtoReflect() protoreflect.Message
func (*BubbleChartSwapByRankRequest) Reset ¶
func (x *BubbleChartSwapByRankRequest) Reset()
func (*BubbleChartSwapByRankRequest) String ¶
func (x *BubbleChartSwapByRankRequest) String() string
type BubbleChartSwapByRankResponse ¶
type BubbleChartSwapByRankResponse struct {
// contains filtered or unexported fields
}
func (*BubbleChartSwapByRankResponse) Descriptor
deprecated
func (*BubbleChartSwapByRankResponse) Descriptor() ([]byte, []int)
Deprecated: Use BubbleChartSwapByRankResponse.ProtoReflect.Descriptor instead.
func (*BubbleChartSwapByRankResponse) ProtoMessage ¶
func (*BubbleChartSwapByRankResponse) ProtoMessage()
func (*BubbleChartSwapByRankResponse) ProtoReflect ¶
func (x *BubbleChartSwapByRankResponse) ProtoReflect() protoreflect.Message
func (*BubbleChartSwapByRankResponse) Reset ¶
func (x *BubbleChartSwapByRankResponse) Reset()
func (*BubbleChartSwapByRankResponse) String ¶
func (x *BubbleChartSwapByRankResponse) String() string
type ChartEntry ¶
type ChartEntry struct { Rank int32 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Info string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` Score int64 `protobuf:"varint,4,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
chart entry
func (*ChartEntry) Descriptor
deprecated
func (*ChartEntry) Descriptor() ([]byte, []int)
Deprecated: Use ChartEntry.ProtoReflect.Descriptor instead.
func (*ChartEntry) GetId ¶
func (x *ChartEntry) GetId() string
func (*ChartEntry) GetInfo ¶
func (x *ChartEntry) GetInfo() string
func (*ChartEntry) GetRank ¶
func (x *ChartEntry) GetRank() int32
func (*ChartEntry) GetScore ¶
func (x *ChartEntry) GetScore() int64
func (*ChartEntry) ProtoMessage ¶
func (*ChartEntry) ProtoMessage()
func (*ChartEntry) ProtoReflect ¶
func (x *ChartEntry) ProtoReflect() protoreflect.Message
func (*ChartEntry) Reset ¶
func (x *ChartEntry) Reset()
func (*ChartEntry) String ¶
func (x *ChartEntry) String() string
type ChartKey ¶
type ChartKey struct { //string app_id = 1; Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Suffix string `protobuf:"bytes,3,opt,name=suffix,proto3" json:"suffix,omitempty"` // contains filtered or unexported fields }
chart key {app_id:name}[:suffix] 一般情况下,suffix不需要提供,redis集群会以{app_id:name} 的一致性哈希结果对请求进行路由。 但有一种情况需要考虑使用suffix,需要construct_from但时候, 需要保证被复制对象和新生成对象在同一台节点上,这时候就 需要suffix,实现内部会生成{app_id:name}:suffix这样的key, 括号内为redis的hash tag,只用hash tag来进行一致性哈希, 从而保证所有相关对象都在同一节点上。
func (*ChartKey) Descriptor
deprecated
func (*ChartKey) ProtoMessage ¶
func (*ChartKey) ProtoMessage()
func (*ChartKey) ProtoReflect ¶
func (x *ChartKey) ProtoReflect() protoreflect.Message
type ChartOptions ¶
type ChartOptions struct { // maximal entries in the chart Capacity int32 `protobuf:"varint,1,opt,name=capacity,proto3" json:"capacity,omitempty"` // duplicate from this name IF CHART NOT EXISTS // can only duplicate from chart which has the same name ConstructFrom *ChartKey `protobuf:"bytes,2,opt,name=construct_from,json=constructFrom,proto3" json:"construct_from,omitempty"` // chart expire at timestamp ExpireAt int64 `protobuf:"varint,3,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` // chart expire after duration, if expire_at set, this option was ignored IdleExpire int64 `protobuf:"varint,4,opt,name=idle_expire,json=idleExpire,proto3" json:"idle_expire,omitempty"` // contains filtered or unexported fields }
chart options NOTE:
if options not set, the existed chart keep it's current options if field of options not set, the existed chart SET THIS OPTION TO DEFAULT
func (*ChartOptions) Descriptor
deprecated
func (*ChartOptions) Descriptor() ([]byte, []int)
Deprecated: Use ChartOptions.ProtoReflect.Descriptor instead.
func (*ChartOptions) GetCapacity ¶
func (x *ChartOptions) GetCapacity() int32
func (*ChartOptions) GetConstructFrom ¶
func (x *ChartOptions) GetConstructFrom() *ChartKey
func (*ChartOptions) GetExpireAt ¶
func (x *ChartOptions) GetExpireAt() int64
func (*ChartOptions) GetIdleExpire ¶
func (x *ChartOptions) GetIdleExpire() int64
func (*ChartOptions) ProtoMessage ¶
func (*ChartOptions) ProtoMessage()
func (*ChartOptions) ProtoReflect ¶
func (x *ChartOptions) ProtoReflect() protoreflect.Message
func (*ChartOptions) Reset ¶
func (x *ChartOptions) Reset()
func (*ChartOptions) String ¶
func (x *ChartOptions) String() string
type DatabaseClient ¶
type DatabaseClient interface { RegisterSchema(ctx context.Context, in *DatabaseRegisterSchemaRequest, opts ...grpc.CallOption) (*DatabaseRegisterSchemaResponse, error) Get(ctx context.Context, in *DatabaseGetRequest, opts ...grpc.CallOption) (*DatabaseGetResponse, error) Set(ctx context.Context, in *DatabaseSetRequest, opts ...grpc.CallOption) (*DatabaseSetResponse, error) }
DatabaseClient is the client API for Database service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDatabaseClient ¶
func NewDatabaseClient(cc grpc.ClientConnInterface) DatabaseClient
type DatabaseGetRequest ¶
type DatabaseGetRequest struct { Key *EntryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` AddIfNotFound *anypb.Any `protobuf:"bytes,9,opt,name=add_if_not_found,json=addIfNotFound,proto3" json:"add_if_not_found,omitempty"` // 如果设置lock_options会在获取数据之前尝试获取id对应的互斥锁 // 如果上锁失败,数据将不会获取 LockOptions *DistlockLockOptions `protobuf:"bytes,11,opt,name=lock_options,json=lockOptions,proto3" json:"lock_options,omitempty"` // contains filtered or unexported fields }
func (*DatabaseGetRequest) Descriptor
deprecated
func (*DatabaseGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseGetRequest.ProtoReflect.Descriptor instead.
func (*DatabaseGetRequest) GetAddIfNotFound ¶
func (x *DatabaseGetRequest) GetAddIfNotFound() *anypb.Any
func (*DatabaseGetRequest) GetKey ¶
func (x *DatabaseGetRequest) GetKey() *EntryKey
func (*DatabaseGetRequest) GetLockOptions ¶
func (x *DatabaseGetRequest) GetLockOptions() *DistlockLockOptions
func (*DatabaseGetRequest) ProtoMessage ¶
func (*DatabaseGetRequest) ProtoMessage()
func (*DatabaseGetRequest) ProtoReflect ¶
func (x *DatabaseGetRequest) ProtoReflect() protoreflect.Message
func (*DatabaseGetRequest) Reset ¶
func (x *DatabaseGetRequest) Reset()
func (*DatabaseGetRequest) String ¶
func (x *DatabaseGetRequest) String() string
type DatabaseGetResponse ¶
type DatabaseGetResponse struct { Revision int64 `protobuf:"varint,8,opt,name=revision,proto3" json:"revision,omitempty"` // data revision Data *anypb.Any `protobuf:"bytes,9,opt,name=data,proto3" json:"data,omitempty"` LockToken *anypb.Any `protobuf:"bytes,10,opt,name=lock_token,json=lockToken,proto3" json:"lock_token,omitempty"` // contains filtered or unexported fields }
func (*DatabaseGetResponse) Descriptor
deprecated
func (*DatabaseGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseGetResponse.ProtoReflect.Descriptor instead.
func (*DatabaseGetResponse) GetData ¶
func (x *DatabaseGetResponse) GetData() *anypb.Any
func (*DatabaseGetResponse) GetLockToken ¶
func (x *DatabaseGetResponse) GetLockToken() *anypb.Any
func (*DatabaseGetResponse) GetRevision ¶
func (x *DatabaseGetResponse) GetRevision() int64
func (*DatabaseGetResponse) ProtoMessage ¶
func (*DatabaseGetResponse) ProtoMessage()
func (*DatabaseGetResponse) ProtoReflect ¶
func (x *DatabaseGetResponse) ProtoReflect() protoreflect.Message
func (*DatabaseGetResponse) Reset ¶
func (x *DatabaseGetResponse) Reset()
func (*DatabaseGetResponse) String ¶
func (x *DatabaseGetResponse) String() string
type DatabaseRegisterSchemaRequest ¶
type DatabaseRegisterSchemaRequest struct { // proto file descriptor set DescriptorSet *descriptorpb.FileDescriptorSet `protobuf:"bytes,1,opt,name=descriptor_set,json=descriptorSet,proto3" json:"descriptor_set,omitempty"` // proto message name MessageName string `protobuf:"bytes,2,opt,name=message_name,json=messageName,proto3" json:"message_name,omitempty"` // contains filtered or unexported fields }
func (*DatabaseRegisterSchemaRequest) Descriptor
deprecated
func (*DatabaseRegisterSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseRegisterSchemaRequest.ProtoReflect.Descriptor instead.
func (*DatabaseRegisterSchemaRequest) GetDescriptorSet ¶
func (x *DatabaseRegisterSchemaRequest) GetDescriptorSet() *descriptorpb.FileDescriptorSet
func (*DatabaseRegisterSchemaRequest) GetMessageName ¶
func (x *DatabaseRegisterSchemaRequest) GetMessageName() string
func (*DatabaseRegisterSchemaRequest) ProtoMessage ¶
func (*DatabaseRegisterSchemaRequest) ProtoMessage()
func (*DatabaseRegisterSchemaRequest) ProtoReflect ¶
func (x *DatabaseRegisterSchemaRequest) ProtoReflect() protoreflect.Message
func (*DatabaseRegisterSchemaRequest) Reset ¶
func (x *DatabaseRegisterSchemaRequest) Reset()
func (*DatabaseRegisterSchemaRequest) String ¶
func (x *DatabaseRegisterSchemaRequest) String() string
type DatabaseRegisterSchemaResponse ¶
type DatabaseRegisterSchemaResponse struct { // unique identifier for registered proto Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` // contains filtered or unexported fields }
func (*DatabaseRegisterSchemaResponse) Descriptor
deprecated
func (*DatabaseRegisterSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseRegisterSchemaResponse.ProtoReflect.Descriptor instead.
func (*DatabaseRegisterSchemaResponse) GetSchema ¶
func (x *DatabaseRegisterSchemaResponse) GetSchema() string
func (*DatabaseRegisterSchemaResponse) ProtoMessage ¶
func (*DatabaseRegisterSchemaResponse) ProtoMessage()
func (*DatabaseRegisterSchemaResponse) ProtoReflect ¶
func (x *DatabaseRegisterSchemaResponse) ProtoReflect() protoreflect.Message
func (*DatabaseRegisterSchemaResponse) Reset ¶
func (x *DatabaseRegisterSchemaResponse) Reset()
func (*DatabaseRegisterSchemaResponse) String ¶
func (x *DatabaseRegisterSchemaResponse) String() string
type DatabaseServer ¶
type DatabaseServer interface { RegisterSchema(context.Context, *DatabaseRegisterSchemaRequest) (*DatabaseRegisterSchemaResponse, error) Get(context.Context, *DatabaseGetRequest) (*DatabaseGetResponse, error) Set(context.Context, *DatabaseSetRequest) (*DatabaseSetResponse, error) // contains filtered or unexported methods }
DatabaseServer is the server API for Database service. All implementations must embed UnimplementedDatabaseServer for forward compatibility
type DatabaseSetRequest ¶
type DatabaseSetRequest struct { Key *EntryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Data *anypb.Any `protobuf:"bytes,9,opt,name=data,proto3" json:"data,omitempty"` // 获取到的互斥锁,更新数据前会校验锁是否有效,如果锁无效则不会更新数据。 // 如果不设置,数据则会被强制更新。 // 每次更新都会重置锁的TTL,即使更新失败。 LockToken *anypb.Any `protobuf:"bytes,10,opt,name=lock_token,json=lockToken,proto3" json:"lock_token,omitempty"` // 设置unlock_options会在操作完成时解锁,要求lock_token有效 UnlockOptions *DistlockUnlockOptions `protobuf:"bytes,11,opt,name=unlock_options,json=unlockOptions,proto3" json:"unlock_options,omitempty"` // contains filtered or unexported fields }
func (*DatabaseSetRequest) Descriptor
deprecated
func (*DatabaseSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseSetRequest.ProtoReflect.Descriptor instead.
func (*DatabaseSetRequest) GetData ¶
func (x *DatabaseSetRequest) GetData() *anypb.Any
func (*DatabaseSetRequest) GetKey ¶
func (x *DatabaseSetRequest) GetKey() *EntryKey
func (*DatabaseSetRequest) GetLockToken ¶
func (x *DatabaseSetRequest) GetLockToken() *anypb.Any
func (*DatabaseSetRequest) GetUnlockOptions ¶
func (x *DatabaseSetRequest) GetUnlockOptions() *DistlockUnlockOptions
func (*DatabaseSetRequest) ProtoMessage ¶
func (*DatabaseSetRequest) ProtoMessage()
func (*DatabaseSetRequest) ProtoReflect ¶
func (x *DatabaseSetRequest) ProtoReflect() protoreflect.Message
func (*DatabaseSetRequest) Reset ¶
func (x *DatabaseSetRequest) Reset()
func (*DatabaseSetRequest) String ¶
func (x *DatabaseSetRequest) String() string
type DatabaseSetResponse ¶
type DatabaseSetResponse struct { Revision int64 `protobuf:"varint,8,opt,name=revision,proto3" json:"revision,omitempty"` // data revision after setting // contains filtered or unexported fields }
func (*DatabaseSetResponse) Descriptor
deprecated
func (*DatabaseSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseSetResponse.ProtoReflect.Descriptor instead.
func (*DatabaseSetResponse) GetRevision ¶
func (x *DatabaseSetResponse) GetRevision() int64
func (*DatabaseSetResponse) ProtoMessage ¶
func (*DatabaseSetResponse) ProtoMessage()
func (*DatabaseSetResponse) ProtoReflect ¶
func (x *DatabaseSetResponse) ProtoReflect() protoreflect.Message
func (*DatabaseSetResponse) Reset ¶
func (x *DatabaseSetResponse) Reset()
func (*DatabaseSetResponse) String ¶
func (x *DatabaseSetResponse) String() string
type DistlockClient ¶
type DistlockClient interface { Lock(ctx context.Context, in *DistlockLockRequest, opts ...grpc.CallOption) (*DistlockLockResponse, error) Unlock(ctx context.Context, in *DistlockUnlockRequest, opts ...grpc.CallOption) (*DistlockUnlockResponse, error) }
DistlockClient is the client API for Distlock service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDistlockClient ¶
func NewDistlockClient(cc grpc.ClientConnInterface) DistlockClient
type DistlockLockOptions ¶
type DistlockLockOptions struct { // 自动超时时间 TimeoutMilliseconds int32 `protobuf:"varint,1,opt,name=timeout_milliseconds,json=timeoutMilliseconds,proto3" json:"timeout_milliseconds,omitempty"` // contains filtered or unexported fields }
func (*DistlockLockOptions) Descriptor
deprecated
func (*DistlockLockOptions) Descriptor() ([]byte, []int)
Deprecated: Use DistlockLockOptions.ProtoReflect.Descriptor instead.
func (*DistlockLockOptions) GetTimeoutMilliseconds ¶
func (x *DistlockLockOptions) GetTimeoutMilliseconds() int32
func (*DistlockLockOptions) ProtoMessage ¶
func (*DistlockLockOptions) ProtoMessage()
func (*DistlockLockOptions) ProtoReflect ¶
func (x *DistlockLockOptions) ProtoReflect() protoreflect.Message
func (*DistlockLockOptions) Reset ¶
func (x *DistlockLockOptions) Reset()
func (*DistlockLockOptions) String ¶
func (x *DistlockLockOptions) String() string
type DistlockLockRequest ¶
type DistlockLockRequest struct { Key *EntryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // 如果需要锁,这个结构必须有,即使不需要改变options参数 LockOptions *DistlockLockOptions `protobuf:"bytes,11,opt,name=lock_options,json=lockOptions,proto3" json:"lock_options,omitempty"` // contains filtered or unexported fields }
func (*DistlockLockRequest) Descriptor
deprecated
func (*DistlockLockRequest) Descriptor() ([]byte, []int)
Deprecated: Use DistlockLockRequest.ProtoReflect.Descriptor instead.
func (*DistlockLockRequest) GetKey ¶
func (x *DistlockLockRequest) GetKey() *EntryKey
func (*DistlockLockRequest) GetLockOptions ¶
func (x *DistlockLockRequest) GetLockOptions() *DistlockLockOptions
func (*DistlockLockRequest) ProtoMessage ¶
func (*DistlockLockRequest) ProtoMessage()
func (*DistlockLockRequest) ProtoReflect ¶
func (x *DistlockLockRequest) ProtoReflect() protoreflect.Message
func (*DistlockLockRequest) Reset ¶
func (x *DistlockLockRequest) Reset()
func (*DistlockLockRequest) String ¶
func (x *DistlockLockRequest) String() string
type DistlockLockResponse ¶
type DistlockLockResponse struct { // 获取到的互斥锁,你不需要知道这是个什么,在解锁时候传回来就行了 LockToken *anypb.Any `protobuf:"bytes,10,opt,name=lock_token,json=lockToken,proto3" json:"lock_token,omitempty"` // contains filtered or unexported fields }
func (*DistlockLockResponse) Descriptor
deprecated
func (*DistlockLockResponse) Descriptor() ([]byte, []int)
Deprecated: Use DistlockLockResponse.ProtoReflect.Descriptor instead.
func (*DistlockLockResponse) GetLockToken ¶
func (x *DistlockLockResponse) GetLockToken() *anypb.Any
func (*DistlockLockResponse) ProtoMessage ¶
func (*DistlockLockResponse) ProtoMessage()
func (*DistlockLockResponse) ProtoReflect ¶
func (x *DistlockLockResponse) ProtoReflect() protoreflect.Message
func (*DistlockLockResponse) Reset ¶
func (x *DistlockLockResponse) Reset()
func (*DistlockLockResponse) String ¶
func (x *DistlockLockResponse) String() string
type DistlockServer ¶
type DistlockServer interface { Lock(context.Context, *DistlockLockRequest) (*DistlockLockResponse, error) Unlock(context.Context, *DistlockUnlockRequest) (*DistlockUnlockResponse, error) // contains filtered or unexported methods }
DistlockServer is the server API for Distlock service. All implementations must embed UnimplementedDistlockServer for forward compatibility
type DistlockUnlockOptions ¶
type DistlockUnlockOptions struct { // 即使操作失败,依然释放锁 EvenOnFailure bool `protobuf:"varint,1,opt,name=even_on_failure,json=evenOnFailure,proto3" json:"even_on_failure,omitempty"` // contains filtered or unexported fields }
func (*DistlockUnlockOptions) Descriptor
deprecated
func (*DistlockUnlockOptions) Descriptor() ([]byte, []int)
Deprecated: Use DistlockUnlockOptions.ProtoReflect.Descriptor instead.
func (*DistlockUnlockOptions) GetEvenOnFailure ¶
func (x *DistlockUnlockOptions) GetEvenOnFailure() bool
func (*DistlockUnlockOptions) ProtoMessage ¶
func (*DistlockUnlockOptions) ProtoMessage()
func (*DistlockUnlockOptions) ProtoReflect ¶
func (x *DistlockUnlockOptions) ProtoReflect() protoreflect.Message
func (*DistlockUnlockOptions) Reset ¶
func (x *DistlockUnlockOptions) Reset()
func (*DistlockUnlockOptions) String ¶
func (x *DistlockUnlockOptions) String() string
type DistlockUnlockRequest ¶
type DistlockUnlockRequest struct { Key *EntryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` LockToken *anypb.Any `protobuf:"bytes,10,opt,name=lock_token,json=lockToken,proto3" json:"lock_token,omitempty"` UnlockOptions *DistlockUnlockOptions `protobuf:"bytes,11,opt,name=unlock_options,json=unlockOptions,proto3" json:"unlock_options,omitempty"` // contains filtered or unexported fields }
func (*DistlockUnlockRequest) Descriptor
deprecated
func (*DistlockUnlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use DistlockUnlockRequest.ProtoReflect.Descriptor instead.
func (*DistlockUnlockRequest) GetKey ¶
func (x *DistlockUnlockRequest) GetKey() *EntryKey
func (*DistlockUnlockRequest) GetLockToken ¶
func (x *DistlockUnlockRequest) GetLockToken() *anypb.Any
func (*DistlockUnlockRequest) GetUnlockOptions ¶
func (x *DistlockUnlockRequest) GetUnlockOptions() *DistlockUnlockOptions
func (*DistlockUnlockRequest) ProtoMessage ¶
func (*DistlockUnlockRequest) ProtoMessage()
func (*DistlockUnlockRequest) ProtoReflect ¶
func (x *DistlockUnlockRequest) ProtoReflect() protoreflect.Message
func (*DistlockUnlockRequest) Reset ¶
func (x *DistlockUnlockRequest) Reset()
func (*DistlockUnlockRequest) String ¶
func (x *DistlockUnlockRequest) String() string
type DistlockUnlockResponse ¶
type DistlockUnlockResponse struct {
// contains filtered or unexported fields
}
func (*DistlockUnlockResponse) Descriptor
deprecated
func (*DistlockUnlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use DistlockUnlockResponse.ProtoReflect.Descriptor instead.
func (*DistlockUnlockResponse) ProtoMessage ¶
func (*DistlockUnlockResponse) ProtoMessage()
func (*DistlockUnlockResponse) ProtoReflect ¶
func (x *DistlockUnlockResponse) ProtoReflect() protoreflect.Message
func (*DistlockUnlockResponse) Reset ¶
func (x *DistlockUnlockResponse) Reset()
func (*DistlockUnlockResponse) String ¶
func (x *DistlockUnlockResponse) String() string
type EntryKey ¶
type EntryKey struct { // Entry kind used to store respectively // It's normally mapped to the table name Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // Entry ID used to identify each other // It's normally mapped to the unique key in table Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
used to locate a data entry
func (*EntryKey) Descriptor
deprecated
func (*EntryKey) ProtoMessage ¶
func (*EntryKey) ProtoMessage()
func (*EntryKey) ProtoReflect ¶
func (x *EntryKey) ProtoReflect() protoreflect.Message
type GatewayBroadcastRequest ¶
type GatewayBroadcastRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Data *anypb.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GatewayBroadcastRequest) Descriptor
deprecated
func (*GatewayBroadcastRequest) Descriptor() ([]byte, []int)
Deprecated: Use GatewayBroadcastRequest.ProtoReflect.Descriptor instead.
func (*GatewayBroadcastRequest) GetData ¶
func (x *GatewayBroadcastRequest) GetData() *anypb.Any
func (*GatewayBroadcastRequest) GetKey ¶
func (x *GatewayBroadcastRequest) GetKey() string
func (*GatewayBroadcastRequest) ProtoMessage ¶
func (*GatewayBroadcastRequest) ProtoMessage()
func (*GatewayBroadcastRequest) ProtoReflect ¶
func (x *GatewayBroadcastRequest) ProtoReflect() protoreflect.Message
func (*GatewayBroadcastRequest) Reset ¶
func (x *GatewayBroadcastRequest) Reset()
func (*GatewayBroadcastRequest) String ¶
func (x *GatewayBroadcastRequest) String() string
type GatewayBroadcastResponse ¶
type GatewayBroadcastResponse struct {
// contains filtered or unexported fields
}
func (*GatewayBroadcastResponse) Descriptor
deprecated
func (*GatewayBroadcastResponse) Descriptor() ([]byte, []int)
Deprecated: Use GatewayBroadcastResponse.ProtoReflect.Descriptor instead.
func (*GatewayBroadcastResponse) ProtoMessage ¶
func (*GatewayBroadcastResponse) ProtoMessage()
func (*GatewayBroadcastResponse) ProtoReflect ¶
func (x *GatewayBroadcastResponse) ProtoReflect() protoreflect.Message
func (*GatewayBroadcastResponse) Reset ¶
func (x *GatewayBroadcastResponse) Reset()
func (*GatewayBroadcastResponse) String ¶
func (x *GatewayBroadcastResponse) String() string
type GatewayClient ¶
type GatewayClient interface { //////////////////////////////////////////////////////////////////////////// // Methods access from client side //////////////////////////////////////////////////////////////////////////// // Establish the back pushing stream Connect(ctx context.Context, in *GatewayConnectRequest, opts ...grpc.CallOption) (Gateway_ConnectClient, error) //////////////////////////////////////////////////////////////////////////// // Methods access from server side //////////////////////////////////////////////////////////////////////////// // Send message to client Send(ctx context.Context, in *GatewaySendRequest, opts ...grpc.CallOption) (*GatewaySendResponse, error) // Let a certain client to subscribe broadcast channels Subscribe(ctx context.Context, in *GatewaySubscribeRequest, opts ...grpc.CallOption) (*GatewaySubscribeResponse, error) // let a certain client to unsubscribe broadcast channels Unsubscribe(ctx context.Context, in *GatewayUnsubscribeRequest, opts ...grpc.CallOption) (*GatewayUnsubscribeResponse, error) // Broadcast to a channel Broadcast(ctx context.Context, in *GatewayBroadcastRequest, opts ...grpc.CallOption) (*GatewayBroadcastResponse, error) }
GatewayClient is the client API for Gateway service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGatewayClient ¶
func NewGatewayClient(cc grpc.ClientConnInterface) GatewayClient
type GatewayConnectRequest ¶
type GatewayConnectRequest struct {
// contains filtered or unexported fields
}
func (*GatewayConnectRequest) Descriptor
deprecated
func (*GatewayConnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GatewayConnectRequest.ProtoReflect.Descriptor instead.
func (*GatewayConnectRequest) ProtoMessage ¶
func (*GatewayConnectRequest) ProtoMessage()
func (*GatewayConnectRequest) ProtoReflect ¶
func (x *GatewayConnectRequest) ProtoReflect() protoreflect.Message
func (*GatewayConnectRequest) Reset ¶
func (x *GatewayConnectRequest) Reset()
func (*GatewayConnectRequest) String ¶
func (x *GatewayConnectRequest) String() string
type GatewaySendRequest ¶
type GatewaySendRequest struct { Data *anypb.Any `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GatewaySendRequest) Descriptor
deprecated
func (*GatewaySendRequest) Descriptor() ([]byte, []int)
Deprecated: Use GatewaySendRequest.ProtoReflect.Descriptor instead.
func (*GatewaySendRequest) GetData ¶
func (x *GatewaySendRequest) GetData() *anypb.Any
func (*GatewaySendRequest) ProtoMessage ¶
func (*GatewaySendRequest) ProtoMessage()
func (*GatewaySendRequest) ProtoReflect ¶
func (x *GatewaySendRequest) ProtoReflect() protoreflect.Message
func (*GatewaySendRequest) Reset ¶
func (x *GatewaySendRequest) Reset()
func (*GatewaySendRequest) String ¶
func (x *GatewaySendRequest) String() string
type GatewaySendResponse ¶
type GatewaySendResponse struct {
// contains filtered or unexported fields
}
func (*GatewaySendResponse) Descriptor
deprecated
func (*GatewaySendResponse) Descriptor() ([]byte, []int)
Deprecated: Use GatewaySendResponse.ProtoReflect.Descriptor instead.
func (*GatewaySendResponse) ProtoMessage ¶
func (*GatewaySendResponse) ProtoMessage()
func (*GatewaySendResponse) ProtoReflect ¶
func (x *GatewaySendResponse) ProtoReflect() protoreflect.Message
func (*GatewaySendResponse) Reset ¶
func (x *GatewaySendResponse) Reset()
func (*GatewaySendResponse) String ¶
func (x *GatewaySendResponse) String() string
type GatewayServer ¶
type GatewayServer interface { //////////////////////////////////////////////////////////////////////////// // Methods access from client side //////////////////////////////////////////////////////////////////////////// // Establish the back pushing stream Connect(*GatewayConnectRequest, Gateway_ConnectServer) error //////////////////////////////////////////////////////////////////////////// // Methods access from server side //////////////////////////////////////////////////////////////////////////// // Send message to client Send(context.Context, *GatewaySendRequest) (*GatewaySendResponse, error) // Let a certain client to subscribe broadcast channels Subscribe(context.Context, *GatewaySubscribeRequest) (*GatewaySubscribeResponse, error) // let a certain client to unsubscribe broadcast channels Unsubscribe(context.Context, *GatewayUnsubscribeRequest) (*GatewayUnsubscribeResponse, error) // Broadcast to a channel Broadcast(context.Context, *GatewayBroadcastRequest) (*GatewayBroadcastResponse, error) // contains filtered or unexported methods }
GatewayServer is the server API for Gateway service. All implementations must embed UnimplementedGatewayServer for forward compatibility
type GatewaySubscribeRequest ¶
type GatewaySubscribeRequest struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
func (*GatewaySubscribeRequest) Descriptor
deprecated
func (*GatewaySubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GatewaySubscribeRequest.ProtoReflect.Descriptor instead.
func (*GatewaySubscribeRequest) GetKeys ¶
func (x *GatewaySubscribeRequest) GetKeys() []string
func (*GatewaySubscribeRequest) ProtoMessage ¶
func (*GatewaySubscribeRequest) ProtoMessage()
func (*GatewaySubscribeRequest) ProtoReflect ¶
func (x *GatewaySubscribeRequest) ProtoReflect() protoreflect.Message
func (*GatewaySubscribeRequest) Reset ¶
func (x *GatewaySubscribeRequest) Reset()
func (*GatewaySubscribeRequest) String ¶
func (x *GatewaySubscribeRequest) String() string
type GatewaySubscribeResponse ¶
type GatewaySubscribeResponse struct {
// contains filtered or unexported fields
}
func (*GatewaySubscribeResponse) Descriptor
deprecated
func (*GatewaySubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GatewaySubscribeResponse.ProtoReflect.Descriptor instead.
func (*GatewaySubscribeResponse) ProtoMessage ¶
func (*GatewaySubscribeResponse) ProtoMessage()
func (*GatewaySubscribeResponse) ProtoReflect ¶
func (x *GatewaySubscribeResponse) ProtoReflect() protoreflect.Message
func (*GatewaySubscribeResponse) Reset ¶
func (x *GatewaySubscribeResponse) Reset()
func (*GatewaySubscribeResponse) String ¶
func (x *GatewaySubscribeResponse) String() string
type GatewayUnsubscribeRequest ¶
type GatewayUnsubscribeRequest struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
func (*GatewayUnsubscribeRequest) Descriptor
deprecated
func (*GatewayUnsubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GatewayUnsubscribeRequest.ProtoReflect.Descriptor instead.
func (*GatewayUnsubscribeRequest) GetKeys ¶
func (x *GatewayUnsubscribeRequest) GetKeys() []string
func (*GatewayUnsubscribeRequest) ProtoMessage ¶
func (*GatewayUnsubscribeRequest) ProtoMessage()
func (*GatewayUnsubscribeRequest) ProtoReflect ¶
func (x *GatewayUnsubscribeRequest) ProtoReflect() protoreflect.Message
func (*GatewayUnsubscribeRequest) Reset ¶
func (x *GatewayUnsubscribeRequest) Reset()
func (*GatewayUnsubscribeRequest) String ¶
func (x *GatewayUnsubscribeRequest) String() string
type GatewayUnsubscribeResponse ¶
type GatewayUnsubscribeResponse struct {
// contains filtered or unexported fields
}
func (*GatewayUnsubscribeResponse) Descriptor
deprecated
func (*GatewayUnsubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GatewayUnsubscribeResponse.ProtoReflect.Descriptor instead.
func (*GatewayUnsubscribeResponse) ProtoMessage ¶
func (*GatewayUnsubscribeResponse) ProtoMessage()
func (*GatewayUnsubscribeResponse) ProtoReflect ¶
func (x *GatewayUnsubscribeResponse) ProtoReflect() protoreflect.Message
func (*GatewayUnsubscribeResponse) Reset ¶
func (x *GatewayUnsubscribeResponse) Reset()
func (*GatewayUnsubscribeResponse) String ¶
func (x *GatewayUnsubscribeResponse) String() string
type Gateway_ConnectClient ¶
type Gateway_ConnectClient interface { Recv() (*anypb.Any, error) grpc.ClientStream }
type Gateway_ConnectServer ¶
type Gateway_ConnectServer interface { Send(*anypb.Any) error grpc.ServerStream }
type LeaderboardClient ¶
type LeaderboardClient interface { // set entry score by id // set entry info if info field not empty SetScore(ctx context.Context, in *LeaderboardSetScoreRequest, opts ...grpc.CallOption) (*LeaderboardSetScoreResponse, error) // incr entry score by id, if id not exists, add it with score // set entry info if info filed not empty IncrScore(ctx context.Context, in *LeaderboardIncrScoreRequest, opts ...grpc.CallOption) (*LeaderboardIncrScoreResponse, error) // get entries by range GetRange(ctx context.Context, in *LeaderboardGetRangeRequest, opts ...grpc.CallOption) (*LeaderboardGetRangeResponse, error) // get entries by id GetById(ctx context.Context, in *LeaderboardGetByIdRequest, opts ...grpc.CallOption) (*LeaderboardGetByIdResponse, error) // remove entries by id RemoveById(ctx context.Context, in *LeaderboardRemoveByIdRequest, opts ...grpc.CallOption) (*LeaderboardRemoveByIdResponse, error) // set entry info by id SetInfo(ctx context.Context, in *LeaderboardSetInfoRequest, opts ...grpc.CallOption) (*LeaderboardSetInfoResponse, error) }
LeaderboardClient is the client API for Leaderboard service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLeaderboardClient ¶
func NewLeaderboardClient(cc grpc.ClientConnInterface) LeaderboardClient
type LeaderboardGetByIdRequest ¶
type LeaderboardGetByIdRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*LeaderboardGetByIdRequest) Descriptor
deprecated
func (*LeaderboardGetByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardGetByIdRequest.ProtoReflect.Descriptor instead.
func (*LeaderboardGetByIdRequest) GetIds ¶
func (x *LeaderboardGetByIdRequest) GetIds() []string
func (*LeaderboardGetByIdRequest) GetKey ¶
func (x *LeaderboardGetByIdRequest) GetKey() *ChartKey
func (*LeaderboardGetByIdRequest) GetOptions ¶
func (x *LeaderboardGetByIdRequest) GetOptions() *ChartOptions
func (*LeaderboardGetByIdRequest) ProtoMessage ¶
func (*LeaderboardGetByIdRequest) ProtoMessage()
func (*LeaderboardGetByIdRequest) ProtoReflect ¶
func (x *LeaderboardGetByIdRequest) ProtoReflect() protoreflect.Message
func (*LeaderboardGetByIdRequest) Reset ¶
func (x *LeaderboardGetByIdRequest) Reset()
func (*LeaderboardGetByIdRequest) String ¶
func (x *LeaderboardGetByIdRequest) String() string
type LeaderboardGetByIdResponse ¶
type LeaderboardGetByIdResponse struct { Entries []*ChartEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*LeaderboardGetByIdResponse) Descriptor
deprecated
func (*LeaderboardGetByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardGetByIdResponse.ProtoReflect.Descriptor instead.
func (*LeaderboardGetByIdResponse) GetEntries ¶
func (x *LeaderboardGetByIdResponse) GetEntries() []*ChartEntry
func (*LeaderboardGetByIdResponse) ProtoMessage ¶
func (*LeaderboardGetByIdResponse) ProtoMessage()
func (*LeaderboardGetByIdResponse) ProtoReflect ¶
func (x *LeaderboardGetByIdResponse) ProtoReflect() protoreflect.Message
func (*LeaderboardGetByIdResponse) Reset ¶
func (x *LeaderboardGetByIdResponse) Reset()
func (*LeaderboardGetByIdResponse) String ¶
func (x *LeaderboardGetByIdResponse) String() string
type LeaderboardGetRangeRequest ¶
type LeaderboardGetRangeRequest struct { Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*LeaderboardGetRangeRequest) Descriptor
deprecated
func (*LeaderboardGetRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardGetRangeRequest.ProtoReflect.Descriptor instead.
func (*LeaderboardGetRangeRequest) GetCount ¶
func (x *LeaderboardGetRangeRequest) GetCount() int32
func (*LeaderboardGetRangeRequest) GetKey ¶
func (x *LeaderboardGetRangeRequest) GetKey() *ChartKey
func (*LeaderboardGetRangeRequest) GetOffset ¶
func (x *LeaderboardGetRangeRequest) GetOffset() int32
func (*LeaderboardGetRangeRequest) GetOptions ¶
func (x *LeaderboardGetRangeRequest) GetOptions() *ChartOptions
func (*LeaderboardGetRangeRequest) ProtoMessage ¶
func (*LeaderboardGetRangeRequest) ProtoMessage()
func (*LeaderboardGetRangeRequest) ProtoReflect ¶
func (x *LeaderboardGetRangeRequest) ProtoReflect() protoreflect.Message
func (*LeaderboardGetRangeRequest) Reset ¶
func (x *LeaderboardGetRangeRequest) Reset()
func (*LeaderboardGetRangeRequest) String ¶
func (x *LeaderboardGetRangeRequest) String() string
type LeaderboardGetRangeResponse ¶
type LeaderboardGetRangeResponse struct { Entries []*ChartEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*LeaderboardGetRangeResponse) Descriptor
deprecated
func (*LeaderboardGetRangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardGetRangeResponse.ProtoReflect.Descriptor instead.
func (*LeaderboardGetRangeResponse) GetEntries ¶
func (x *LeaderboardGetRangeResponse) GetEntries() []*ChartEntry
func (*LeaderboardGetRangeResponse) ProtoMessage ¶
func (*LeaderboardGetRangeResponse) ProtoMessage()
func (*LeaderboardGetRangeResponse) ProtoReflect ¶
func (x *LeaderboardGetRangeResponse) ProtoReflect() protoreflect.Message
func (*LeaderboardGetRangeResponse) Reset ¶
func (x *LeaderboardGetRangeResponse) Reset()
func (*LeaderboardGetRangeResponse) String ¶
func (x *LeaderboardGetRangeResponse) String() string
type LeaderboardIncrScoreRequest ¶
type LeaderboardIncrScoreRequest struct { Entries []*ChartEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*LeaderboardIncrScoreRequest) Descriptor
deprecated
func (*LeaderboardIncrScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardIncrScoreRequest.ProtoReflect.Descriptor instead.
func (*LeaderboardIncrScoreRequest) GetEntries ¶
func (x *LeaderboardIncrScoreRequest) GetEntries() []*ChartEntry
func (*LeaderboardIncrScoreRequest) GetKey ¶
func (x *LeaderboardIncrScoreRequest) GetKey() *ChartKey
func (*LeaderboardIncrScoreRequest) GetOptions ¶
func (x *LeaderboardIncrScoreRequest) GetOptions() *ChartOptions
func (*LeaderboardIncrScoreRequest) ProtoMessage ¶
func (*LeaderboardIncrScoreRequest) ProtoMessage()
func (*LeaderboardIncrScoreRequest) ProtoReflect ¶
func (x *LeaderboardIncrScoreRequest) ProtoReflect() protoreflect.Message
func (*LeaderboardIncrScoreRequest) Reset ¶
func (x *LeaderboardIncrScoreRequest) Reset()
func (*LeaderboardIncrScoreRequest) String ¶
func (x *LeaderboardIncrScoreRequest) String() string
type LeaderboardIncrScoreResponse ¶
type LeaderboardIncrScoreResponse struct { Entries []*ChartEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*LeaderboardIncrScoreResponse) Descriptor
deprecated
func (*LeaderboardIncrScoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardIncrScoreResponse.ProtoReflect.Descriptor instead.
func (*LeaderboardIncrScoreResponse) GetEntries ¶
func (x *LeaderboardIncrScoreResponse) GetEntries() []*ChartEntry
func (*LeaderboardIncrScoreResponse) ProtoMessage ¶
func (*LeaderboardIncrScoreResponse) ProtoMessage()
func (*LeaderboardIncrScoreResponse) ProtoReflect ¶
func (x *LeaderboardIncrScoreResponse) ProtoReflect() protoreflect.Message
func (*LeaderboardIncrScoreResponse) Reset ¶
func (x *LeaderboardIncrScoreResponse) Reset()
func (*LeaderboardIncrScoreResponse) String ¶
func (x *LeaderboardIncrScoreResponse) String() string
type LeaderboardRemoveByIdRequest ¶
type LeaderboardRemoveByIdRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*LeaderboardRemoveByIdRequest) Descriptor
deprecated
func (*LeaderboardRemoveByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardRemoveByIdRequest.ProtoReflect.Descriptor instead.
func (*LeaderboardRemoveByIdRequest) GetIds ¶
func (x *LeaderboardRemoveByIdRequest) GetIds() []string
func (*LeaderboardRemoveByIdRequest) GetKey ¶
func (x *LeaderboardRemoveByIdRequest) GetKey() *ChartKey
func (*LeaderboardRemoveByIdRequest) GetOptions ¶
func (x *LeaderboardRemoveByIdRequest) GetOptions() *ChartOptions
func (*LeaderboardRemoveByIdRequest) ProtoMessage ¶
func (*LeaderboardRemoveByIdRequest) ProtoMessage()
func (*LeaderboardRemoveByIdRequest) ProtoReflect ¶
func (x *LeaderboardRemoveByIdRequest) ProtoReflect() protoreflect.Message
func (*LeaderboardRemoveByIdRequest) Reset ¶
func (x *LeaderboardRemoveByIdRequest) Reset()
func (*LeaderboardRemoveByIdRequest) String ¶
func (x *LeaderboardRemoveByIdRequest) String() string
type LeaderboardRemoveByIdResponse ¶
type LeaderboardRemoveByIdResponse struct {
// contains filtered or unexported fields
}
func (*LeaderboardRemoveByIdResponse) Descriptor
deprecated
func (*LeaderboardRemoveByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardRemoveByIdResponse.ProtoReflect.Descriptor instead.
func (*LeaderboardRemoveByIdResponse) ProtoMessage ¶
func (*LeaderboardRemoveByIdResponse) ProtoMessage()
func (*LeaderboardRemoveByIdResponse) ProtoReflect ¶
func (x *LeaderboardRemoveByIdResponse) ProtoReflect() protoreflect.Message
func (*LeaderboardRemoveByIdResponse) Reset ¶
func (x *LeaderboardRemoveByIdResponse) Reset()
func (*LeaderboardRemoveByIdResponse) String ¶
func (x *LeaderboardRemoveByIdResponse) String() string
type LeaderboardServer ¶
type LeaderboardServer interface { // set entry score by id // set entry info if info field not empty SetScore(context.Context, *LeaderboardSetScoreRequest) (*LeaderboardSetScoreResponse, error) // incr entry score by id, if id not exists, add it with score // set entry info if info filed not empty IncrScore(context.Context, *LeaderboardIncrScoreRequest) (*LeaderboardIncrScoreResponse, error) // get entries by range GetRange(context.Context, *LeaderboardGetRangeRequest) (*LeaderboardGetRangeResponse, error) // get entries by id GetById(context.Context, *LeaderboardGetByIdRequest) (*LeaderboardGetByIdResponse, error) // remove entries by id RemoveById(context.Context, *LeaderboardRemoveByIdRequest) (*LeaderboardRemoveByIdResponse, error) // set entry info by id SetInfo(context.Context, *LeaderboardSetInfoRequest) (*LeaderboardSetInfoResponse, error) // contains filtered or unexported methods }
LeaderboardServer is the server API for Leaderboard service. All implementations must embed UnimplementedLeaderboardServer for forward compatibility
type LeaderboardSetInfoRequest ¶
type LeaderboardSetInfoRequest struct { Entries []*ChartEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*LeaderboardSetInfoRequest) Descriptor
deprecated
func (*LeaderboardSetInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardSetInfoRequest.ProtoReflect.Descriptor instead.
func (*LeaderboardSetInfoRequest) GetEntries ¶
func (x *LeaderboardSetInfoRequest) GetEntries() []*ChartEntry
func (*LeaderboardSetInfoRequest) GetKey ¶
func (x *LeaderboardSetInfoRequest) GetKey() *ChartKey
func (*LeaderboardSetInfoRequest) GetOptions ¶
func (x *LeaderboardSetInfoRequest) GetOptions() *ChartOptions
func (*LeaderboardSetInfoRequest) ProtoMessage ¶
func (*LeaderboardSetInfoRequest) ProtoMessage()
func (*LeaderboardSetInfoRequest) ProtoReflect ¶
func (x *LeaderboardSetInfoRequest) ProtoReflect() protoreflect.Message
func (*LeaderboardSetInfoRequest) Reset ¶
func (x *LeaderboardSetInfoRequest) Reset()
func (*LeaderboardSetInfoRequest) String ¶
func (x *LeaderboardSetInfoRequest) String() string
type LeaderboardSetInfoResponse ¶
type LeaderboardSetInfoResponse struct {
// contains filtered or unexported fields
}
func (*LeaderboardSetInfoResponse) Descriptor
deprecated
func (*LeaderboardSetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardSetInfoResponse.ProtoReflect.Descriptor instead.
func (*LeaderboardSetInfoResponse) ProtoMessage ¶
func (*LeaderboardSetInfoResponse) ProtoMessage()
func (*LeaderboardSetInfoResponse) ProtoReflect ¶
func (x *LeaderboardSetInfoResponse) ProtoReflect() protoreflect.Message
func (*LeaderboardSetInfoResponse) Reset ¶
func (x *LeaderboardSetInfoResponse) Reset()
func (*LeaderboardSetInfoResponse) String ¶
func (x *LeaderboardSetInfoResponse) String() string
type LeaderboardSetScoreRequest ¶
type LeaderboardSetScoreRequest struct { Entries []*ChartEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` Options *ChartOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` Key *ChartKey `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*LeaderboardSetScoreRequest) Descriptor
deprecated
func (*LeaderboardSetScoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardSetScoreRequest.ProtoReflect.Descriptor instead.
func (*LeaderboardSetScoreRequest) GetEntries ¶
func (x *LeaderboardSetScoreRequest) GetEntries() []*ChartEntry
func (*LeaderboardSetScoreRequest) GetKey ¶
func (x *LeaderboardSetScoreRequest) GetKey() *ChartKey
func (*LeaderboardSetScoreRequest) GetOptions ¶
func (x *LeaderboardSetScoreRequest) GetOptions() *ChartOptions
func (*LeaderboardSetScoreRequest) ProtoMessage ¶
func (*LeaderboardSetScoreRequest) ProtoMessage()
func (*LeaderboardSetScoreRequest) ProtoReflect ¶
func (x *LeaderboardSetScoreRequest) ProtoReflect() protoreflect.Message
func (*LeaderboardSetScoreRequest) Reset ¶
func (x *LeaderboardSetScoreRequest) Reset()
func (*LeaderboardSetScoreRequest) String ¶
func (x *LeaderboardSetScoreRequest) String() string
type LeaderboardSetScoreResponse ¶
type LeaderboardSetScoreResponse struct {
// contains filtered or unexported fields
}
func (*LeaderboardSetScoreResponse) Descriptor
deprecated
func (*LeaderboardSetScoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardSetScoreResponse.ProtoReflect.Descriptor instead.
func (*LeaderboardSetScoreResponse) ProtoMessage ¶
func (*LeaderboardSetScoreResponse) ProtoMessage()
func (*LeaderboardSetScoreResponse) ProtoReflect ¶
func (x *LeaderboardSetScoreResponse) ProtoReflect() protoreflect.Message
func (*LeaderboardSetScoreResponse) Reset ¶
func (x *LeaderboardSetScoreResponse) Reset()
func (*LeaderboardSetScoreResponse) String ¶
func (x *LeaderboardSetScoreResponse) String() string
type LoginStateProperties ¶
type LoginStateProperties struct { // acct id can be taken over if duplicated TakeOverAcctIdIfDuplicated bool `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
State properties affect behavior
func (*LoginStateProperties) Descriptor
deprecated
func (*LoginStateProperties) Descriptor() ([]byte, []int)
Deprecated: Use LoginStateProperties.ProtoReflect.Descriptor instead.
func (*LoginStateProperties) GetTakeOverAcctIdIfDuplicated ¶
func (x *LoginStateProperties) GetTakeOverAcctIdIfDuplicated() bool
func (*LoginStateProperties) ProtoMessage ¶
func (*LoginStateProperties) ProtoMessage()
func (*LoginStateProperties) ProtoReflect ¶
func (x *LoginStateProperties) ProtoReflect() protoreflect.Message
func (*LoginStateProperties) Reset ¶
func (x *LoginStateProperties) Reset()
func (*LoginStateProperties) String ¶
func (x *LoginStateProperties) String() string
type Mail ¶
type Mail struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Data *anypb.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Mail) Descriptor
deprecated
func (*Mail) ProtoMessage ¶
func (*Mail) ProtoMessage()
func (*Mail) ProtoReflect ¶
func (x *Mail) ProtoReflect() protoreflect.Message
type MailboxClient ¶
type MailboxClient interface { List(ctx context.Context, in *MailboxListRequest, opts ...grpc.CallOption) (*MailboxListResponse, error) Push(ctx context.Context, in *MailboxPushRequest, opts ...grpc.CallOption) (*MailboxPushResponse, error) Pull(ctx context.Context, in *MailboxPullRequest, opts ...grpc.CallOption) (*MailboxPullResponse, error) }
MailboxClient is the client API for Mailbox service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMailboxClient ¶
func NewMailboxClient(cc grpc.ClientConnInterface) MailboxClient
type MailboxListRequest ¶
type MailboxListRequest struct { Key *EntryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*MailboxListRequest) Descriptor
deprecated
func (*MailboxListRequest) Descriptor() ([]byte, []int)
Deprecated: Use MailboxListRequest.ProtoReflect.Descriptor instead.
func (*MailboxListRequest) GetKey ¶
func (x *MailboxListRequest) GetKey() *EntryKey
func (*MailboxListRequest) ProtoMessage ¶
func (*MailboxListRequest) ProtoMessage()
func (*MailboxListRequest) ProtoReflect ¶
func (x *MailboxListRequest) ProtoReflect() protoreflect.Message
func (*MailboxListRequest) Reset ¶
func (x *MailboxListRequest) Reset()
func (*MailboxListRequest) String ¶
func (x *MailboxListRequest) String() string
type MailboxListResponse ¶
type MailboxListResponse struct { Mails []*Mail `protobuf:"bytes,1,rep,name=mails,proto3" json:"mails,omitempty"` // contains filtered or unexported fields }
func (*MailboxListResponse) Descriptor
deprecated
func (*MailboxListResponse) Descriptor() ([]byte, []int)
Deprecated: Use MailboxListResponse.ProtoReflect.Descriptor instead.
func (*MailboxListResponse) GetMails ¶
func (x *MailboxListResponse) GetMails() []*Mail
func (*MailboxListResponse) ProtoMessage ¶
func (*MailboxListResponse) ProtoMessage()
func (*MailboxListResponse) ProtoReflect ¶
func (x *MailboxListResponse) ProtoReflect() protoreflect.Message
func (*MailboxListResponse) Reset ¶
func (x *MailboxListResponse) Reset()
func (*MailboxListResponse) String ¶
func (x *MailboxListResponse) String() string
type MailboxPullRequest ¶
type MailboxPullRequest struct { Key *EntryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*MailboxPullRequest) Descriptor
deprecated
func (*MailboxPullRequest) Descriptor() ([]byte, []int)
Deprecated: Use MailboxPullRequest.ProtoReflect.Descriptor instead.
func (*MailboxPullRequest) GetIds ¶
func (x *MailboxPullRequest) GetIds() []string
func (*MailboxPullRequest) GetKey ¶
func (x *MailboxPullRequest) GetKey() *EntryKey
func (*MailboxPullRequest) ProtoMessage ¶
func (*MailboxPullRequest) ProtoMessage()
func (*MailboxPullRequest) ProtoReflect ¶
func (x *MailboxPullRequest) ProtoReflect() protoreflect.Message
func (*MailboxPullRequest) Reset ¶
func (x *MailboxPullRequest) Reset()
func (*MailboxPullRequest) String ¶
func (x *MailboxPullRequest) String() string
type MailboxPullResponse ¶
type MailboxPullResponse struct { PulledIds []string `protobuf:"bytes,1,rep,name=pulled_ids,json=pulledIds,proto3" json:"pulled_ids,omitempty"` // pulled id list // contains filtered or unexported fields }
func (*MailboxPullResponse) Descriptor
deprecated
func (*MailboxPullResponse) Descriptor() ([]byte, []int)
Deprecated: Use MailboxPullResponse.ProtoReflect.Descriptor instead.
func (*MailboxPullResponse) GetPulledIds ¶
func (x *MailboxPullResponse) GetPulledIds() []string
func (*MailboxPullResponse) ProtoMessage ¶
func (*MailboxPullResponse) ProtoMessage()
func (*MailboxPullResponse) ProtoReflect ¶
func (x *MailboxPullResponse) ProtoReflect() protoreflect.Message
func (*MailboxPullResponse) Reset ¶
func (x *MailboxPullResponse) Reset()
func (*MailboxPullResponse) String ¶
func (x *MailboxPullResponse) String() string
type MailboxPushRequest ¶
type MailboxPushRequest struct { Key *EntryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Data *anypb.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Capacity int32 `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"` // maximum mails to keep // contains filtered or unexported fields }
func (*MailboxPushRequest) Descriptor
deprecated
func (*MailboxPushRequest) Descriptor() ([]byte, []int)
Deprecated: Use MailboxPushRequest.ProtoReflect.Descriptor instead.
func (*MailboxPushRequest) GetCapacity ¶
func (x *MailboxPushRequest) GetCapacity() int32
func (*MailboxPushRequest) GetData ¶
func (x *MailboxPushRequest) GetData() *anypb.Any
func (*MailboxPushRequest) GetKey ¶
func (x *MailboxPushRequest) GetKey() *EntryKey
func (*MailboxPushRequest) ProtoMessage ¶
func (*MailboxPushRequest) ProtoMessage()
func (*MailboxPushRequest) ProtoReflect ¶
func (x *MailboxPushRequest) ProtoReflect() protoreflect.Message
func (*MailboxPushRequest) Reset ¶
func (x *MailboxPushRequest) Reset()
func (*MailboxPushRequest) String ¶
func (x *MailboxPushRequest) String() string
type MailboxPushResponse ¶
type MailboxPushResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*MailboxPushResponse) Descriptor
deprecated
func (*MailboxPushResponse) Descriptor() ([]byte, []int)
Deprecated: Use MailboxPushResponse.ProtoReflect.Descriptor instead.
func (*MailboxPushResponse) GetId ¶
func (x *MailboxPushResponse) GetId() string
func (*MailboxPushResponse) ProtoMessage ¶
func (*MailboxPushResponse) ProtoMessage()
func (*MailboxPushResponse) ProtoReflect ¶
func (x *MailboxPushResponse) ProtoReflect() protoreflect.Message
func (*MailboxPushResponse) Reset ¶
func (x *MailboxPushResponse) Reset()
func (*MailboxPushResponse) String ¶
func (x *MailboxPushResponse) String() string
type MailboxServer ¶
type MailboxServer interface { List(context.Context, *MailboxListRequest) (*MailboxListResponse, error) Push(context.Context, *MailboxPushRequest) (*MailboxPushResponse, error) Pull(context.Context, *MailboxPullRequest) (*MailboxPullResponse, error) // contains filtered or unexported methods }
MailboxServer is the server API for Mailbox service. All implementations must embed UnimplementedMailboxServer for forward compatibility
type RoleAdminClient ¶
type RoleAdminClient interface {
Get(ctx context.Context, in *RoleAdminGetRequest, opts ...grpc.CallOption) (*RoleAdminGetResponse, error)
}
RoleAdminClient is the client API for RoleAdmin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRoleAdminClient ¶
func NewRoleAdminClient(cc grpc.ClientConnInterface) RoleAdminClient
type RoleAdminGetRequest ¶
type RoleAdminGetRequest struct { RoleIds []string `protobuf:"bytes,1,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` // contains filtered or unexported fields }
func (*RoleAdminGetRequest) Descriptor
deprecated
func (*RoleAdminGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoleAdminGetRequest.ProtoReflect.Descriptor instead.
func (*RoleAdminGetRequest) GetRoleIds ¶
func (x *RoleAdminGetRequest) GetRoleIds() []string
func (*RoleAdminGetRequest) ProtoMessage ¶
func (*RoleAdminGetRequest) ProtoMessage()
func (*RoleAdminGetRequest) ProtoReflect ¶
func (x *RoleAdminGetRequest) ProtoReflect() protoreflect.Message
func (*RoleAdminGetRequest) Reset ¶
func (x *RoleAdminGetRequest) Reset()
func (*RoleAdminGetRequest) String ¶
func (x *RoleAdminGetRequest) String() string
type RoleAdminGetResponse ¶
type RoleAdminGetResponse struct { Roles []*RoleData `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*RoleAdminGetResponse) Descriptor
deprecated
func (*RoleAdminGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleAdminGetResponse.ProtoReflect.Descriptor instead.
func (*RoleAdminGetResponse) GetRoles ¶
func (x *RoleAdminGetResponse) GetRoles() []*RoleData
func (*RoleAdminGetResponse) ProtoMessage ¶
func (*RoleAdminGetResponse) ProtoMessage()
func (*RoleAdminGetResponse) ProtoReflect ¶
func (x *RoleAdminGetResponse) ProtoReflect() protoreflect.Message
func (*RoleAdminGetResponse) Reset ¶
func (x *RoleAdminGetResponse) Reset()
func (*RoleAdminGetResponse) String ¶
func (x *RoleAdminGetResponse) String() string
type RoleAdminServer ¶
type RoleAdminServer interface { Get(context.Context, *RoleAdminGetRequest) (*RoleAdminGetResponse, error) // contains filtered or unexported methods }
RoleAdminServer is the server API for RoleAdmin service. All implementations must embed UnimplementedRoleAdminServer for forward compatibility
type RoleClient ¶
type RoleClient interface { List(ctx context.Context, in *RoleListRequest, opts ...grpc.CallOption) (*RoleListResponse, error) Create(ctx context.Context, in *RoleCreateRequest, opts ...grpc.CallOption) (*RoleCreateResponse, error) SignIn(ctx context.Context, in *RoleSignInRequest, opts ...grpc.CallOption) (*RoleSignInResponse, error) SetMetadata(ctx context.Context, in *RoleSetMetadataRequest, opts ...grpc.CallOption) (*RoleSetMetadataResponse, error) GetMetadata(ctx context.Context, in *RoleGetMetadataRequest, opts ...grpc.CallOption) (*RoleGetMetadataResponse, error) }
RoleClient is the client API for Role service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRoleClient ¶
func NewRoleClient(cc grpc.ClientConnInterface) RoleClient
type RoleCreateRequest ¶
type RoleCreateRequest struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RoleCreateRequest) Descriptor
deprecated
func (*RoleCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoleCreateRequest.ProtoReflect.Descriptor instead.
func (*RoleCreateRequest) GetIndex ¶
func (x *RoleCreateRequest) GetIndex() uint32
func (*RoleCreateRequest) GetMetadata ¶
func (x *RoleCreateRequest) GetMetadata() map[string]string
func (*RoleCreateRequest) ProtoMessage ¶
func (*RoleCreateRequest) ProtoMessage()
func (*RoleCreateRequest) ProtoReflect ¶
func (x *RoleCreateRequest) ProtoReflect() protoreflect.Message
func (*RoleCreateRequest) Reset ¶
func (x *RoleCreateRequest) Reset()
func (*RoleCreateRequest) String ¶
func (x *RoleCreateRequest) String() string
type RoleCreateResponse ¶
type RoleCreateResponse struct { Role *RoleData `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*RoleCreateResponse) Descriptor
deprecated
func (*RoleCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleCreateResponse.ProtoReflect.Descriptor instead.
func (*RoleCreateResponse) GetRole ¶
func (x *RoleCreateResponse) GetRole() *RoleData
func (*RoleCreateResponse) ProtoMessage ¶
func (*RoleCreateResponse) ProtoMessage()
func (*RoleCreateResponse) ProtoReflect ¶
func (x *RoleCreateResponse) ProtoReflect() protoreflect.Message
func (*RoleCreateResponse) Reset ¶
func (x *RoleCreateResponse) Reset()
func (*RoleCreateResponse) String ¶
func (x *RoleCreateResponse) String() string
type RoleData ¶
type RoleData struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Metadata map[string]string `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RoleData) Descriptor
deprecated
func (*RoleData) GetMetadata ¶
func (*RoleData) ProtoMessage ¶
func (*RoleData) ProtoMessage()
func (*RoleData) ProtoReflect ¶
func (x *RoleData) ProtoReflect() protoreflect.Message
type RoleGetMetadataRequest ¶
type RoleGetMetadataRequest struct { RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Keys []string `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
func (*RoleGetMetadataRequest) Descriptor
deprecated
func (*RoleGetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoleGetMetadataRequest.ProtoReflect.Descriptor instead.
func (*RoleGetMetadataRequest) GetKeys ¶
func (x *RoleGetMetadataRequest) GetKeys() []string
func (*RoleGetMetadataRequest) GetRoleId ¶
func (x *RoleGetMetadataRequest) GetRoleId() string
func (*RoleGetMetadataRequest) ProtoMessage ¶
func (*RoleGetMetadataRequest) ProtoMessage()
func (*RoleGetMetadataRequest) ProtoReflect ¶
func (x *RoleGetMetadataRequest) ProtoReflect() protoreflect.Message
func (*RoleGetMetadataRequest) Reset ¶
func (x *RoleGetMetadataRequest) Reset()
func (*RoleGetMetadataRequest) String ¶
func (x *RoleGetMetadataRequest) String() string
type RoleGetMetadataResponse ¶
type RoleGetMetadataResponse struct { Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RoleGetMetadataResponse) Descriptor
deprecated
func (*RoleGetMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleGetMetadataResponse.ProtoReflect.Descriptor instead.
func (*RoleGetMetadataResponse) GetMetadata ¶
func (x *RoleGetMetadataResponse) GetMetadata() map[string]string
func (*RoleGetMetadataResponse) ProtoMessage ¶
func (*RoleGetMetadataResponse) ProtoMessage()
func (*RoleGetMetadataResponse) ProtoReflect ¶
func (x *RoleGetMetadataResponse) ProtoReflect() protoreflect.Message
func (*RoleGetMetadataResponse) Reset ¶
func (x *RoleGetMetadataResponse) Reset()
func (*RoleGetMetadataResponse) String ¶
func (x *RoleGetMetadataResponse) String() string
type RoleListRequest ¶
type RoleListRequest struct {
// contains filtered or unexported fields
}
func (*RoleListRequest) Descriptor
deprecated
func (*RoleListRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoleListRequest.ProtoReflect.Descriptor instead.
func (*RoleListRequest) ProtoMessage ¶
func (*RoleListRequest) ProtoMessage()
func (*RoleListRequest) ProtoReflect ¶
func (x *RoleListRequest) ProtoReflect() protoreflect.Message
func (*RoleListRequest) Reset ¶
func (x *RoleListRequest) Reset()
func (*RoleListRequest) String ¶
func (x *RoleListRequest) String() string
type RoleListResponse ¶
type RoleListResponse struct { Roles []*RoleData `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*RoleListResponse) Descriptor
deprecated
func (*RoleListResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleListResponse.ProtoReflect.Descriptor instead.
func (*RoleListResponse) GetRoles ¶
func (x *RoleListResponse) GetRoles() []*RoleData
func (*RoleListResponse) ProtoMessage ¶
func (*RoleListResponse) ProtoMessage()
func (*RoleListResponse) ProtoReflect ¶
func (x *RoleListResponse) ProtoReflect() protoreflect.Message
func (*RoleListResponse) Reset ¶
func (x *RoleListResponse) Reset()
func (*RoleListResponse) String ¶
func (x *RoleListResponse) String() string
type RoleServer ¶
type RoleServer interface { List(context.Context, *RoleListRequest) (*RoleListResponse, error) Create(context.Context, *RoleCreateRequest) (*RoleCreateResponse, error) SignIn(context.Context, *RoleSignInRequest) (*RoleSignInResponse, error) SetMetadata(context.Context, *RoleSetMetadataRequest) (*RoleSetMetadataResponse, error) GetMetadata(context.Context, *RoleGetMetadataRequest) (*RoleGetMetadataResponse, error) // contains filtered or unexported methods }
RoleServer is the server API for Role service. All implementations must embed UnimplementedRoleServer for forward compatibility
type RoleSetMetadataRequest ¶
type RoleSetMetadataRequest struct { RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RoleSetMetadataRequest) Descriptor
deprecated
func (*RoleSetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoleSetMetadataRequest.ProtoReflect.Descriptor instead.
func (*RoleSetMetadataRequest) GetMetadata ¶
func (x *RoleSetMetadataRequest) GetMetadata() map[string]string
func (*RoleSetMetadataRequest) GetRoleId ¶
func (x *RoleSetMetadataRequest) GetRoleId() string
func (*RoleSetMetadataRequest) ProtoMessage ¶
func (*RoleSetMetadataRequest) ProtoMessage()
func (*RoleSetMetadataRequest) ProtoReflect ¶
func (x *RoleSetMetadataRequest) ProtoReflect() protoreflect.Message
func (*RoleSetMetadataRequest) Reset ¶
func (x *RoleSetMetadataRequest) Reset()
func (*RoleSetMetadataRequest) String ¶
func (x *RoleSetMetadataRequest) String() string
type RoleSetMetadataResponse ¶
type RoleSetMetadataResponse struct {
// contains filtered or unexported fields
}
func (*RoleSetMetadataResponse) Descriptor
deprecated
func (*RoleSetMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleSetMetadataResponse.ProtoReflect.Descriptor instead.
func (*RoleSetMetadataResponse) ProtoMessage ¶
func (*RoleSetMetadataResponse) ProtoMessage()
func (*RoleSetMetadataResponse) ProtoReflect ¶
func (x *RoleSetMetadataResponse) ProtoReflect() protoreflect.Message
func (*RoleSetMetadataResponse) Reset ¶
func (x *RoleSetMetadataResponse) Reset()
func (*RoleSetMetadataResponse) String ¶
func (x *RoleSetMetadataResponse) String() string
type RoleSignInRequest ¶
type RoleSignInRequest struct { RoleId string `protobuf:"bytes,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*RoleSignInRequest) Descriptor
deprecated
func (*RoleSignInRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoleSignInRequest.ProtoReflect.Descriptor instead.
func (*RoleSignInRequest) GetRoleId ¶
func (x *RoleSignInRequest) GetRoleId() string
func (*RoleSignInRequest) ProtoMessage ¶
func (*RoleSignInRequest) ProtoMessage()
func (*RoleSignInRequest) ProtoReflect ¶
func (x *RoleSignInRequest) ProtoReflect() protoreflect.Message
func (*RoleSignInRequest) Reset ¶
func (x *RoleSignInRequest) Reset()
func (*RoleSignInRequest) String ¶
func (x *RoleSignInRequest) String() string
type RoleSignInResponse ¶
type RoleSignInResponse struct {
// contains filtered or unexported fields
}
func (*RoleSignInResponse) Descriptor
deprecated
func (*RoleSignInResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleSignInResponse.ProtoReflect.Descriptor instead.
func (*RoleSignInResponse) ProtoMessage ¶
func (*RoleSignInResponse) ProtoMessage()
func (*RoleSignInResponse) ProtoReflect ¶
func (x *RoleSignInResponse) ProtoReflect() protoreflect.Message
func (*RoleSignInResponse) Reset ¶
func (x *RoleSignInResponse) Reset()
func (*RoleSignInResponse) String ¶
func (x *RoleSignInResponse) String() string
type SessionFeature ¶
type SessionFeature struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
feature belonging to session will be saved in session data
func (*SessionFeature) Descriptor
deprecated
func (*SessionFeature) Descriptor() ([]byte, []int)
Deprecated: Use SessionFeature.ProtoReflect.Descriptor instead.
func (*SessionFeature) GetKey ¶
func (x *SessionFeature) GetKey() string
func (*SessionFeature) GetValue ¶
func (x *SessionFeature) GetValue() string
func (*SessionFeature) ProtoMessage ¶
func (*SessionFeature) ProtoMessage()
func (*SessionFeature) ProtoReflect ¶
func (x *SessionFeature) ProtoReflect() protoreflect.Message
func (*SessionFeature) Reset ¶
func (x *SessionFeature) Reset()
func (*SessionFeature) String ¶
func (x *SessionFeature) String() string
type UniformLoginState ¶
type UniformLoginState struct { // User which matchs one of the accts will be selected, // then all of the accts will be bind to this user. // All accts must be mapped to exact 0 or 1 user. // All accts will be bind to this user. AcctIds []string `protobuf:"bytes,1,rep,name=acct_ids,json=acctIds,proto3" json:"acct_ids,omitempty"` // user ip UserIp string `protobuf:"bytes,2,opt,name=user_ip,json=userIp,proto3" json:"user_ip,omitempty"` // inherent properties of state Properties *LoginStateProperties `protobuf:"bytes,10,opt,name=properties,proto3" json:"properties,omitempty"` // session features Features []*SessionFeature `protobuf:"bytes,11,rep,name=features,proto3" json:"features,omitempty"` // timestamp when signature signed Timestamp int64 `protobuf:"varint,13,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // random string max length to 32 bytes // 16 bytes length at least is recommended Nonce string `protobuf:"bytes,14,opt,name=nonce,proto3" json:"nonce,omitempty"` // the signature should be signed at SERVER SIDE, // no matter the login request was sent from client or server. Signature string `protobuf:"bytes,15,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
Librad not implement any account (check) system, the real account state should be verified via a third-party server, then send a login request to librad to fetch passport(token).
func (*UniformLoginState) Descriptor
deprecated
func (*UniformLoginState) Descriptor() ([]byte, []int)
Deprecated: Use UniformLoginState.ProtoReflect.Descriptor instead.
func (*UniformLoginState) GetAcctIds ¶
func (x *UniformLoginState) GetAcctIds() []string
func (*UniformLoginState) GetFeatures ¶
func (x *UniformLoginState) GetFeatures() []*SessionFeature
func (*UniformLoginState) GetNonce ¶
func (x *UniformLoginState) GetNonce() string
func (*UniformLoginState) GetProperties ¶
func (x *UniformLoginState) GetProperties() *LoginStateProperties
func (*UniformLoginState) GetSignature ¶
func (x *UniformLoginState) GetSignature() string
func (*UniformLoginState) GetTimestamp ¶
func (x *UniformLoginState) GetTimestamp() int64
func (*UniformLoginState) GetUserIp ¶
func (x *UniformLoginState) GetUserIp() string
func (*UniformLoginState) ProtoMessage ¶
func (*UniformLoginState) ProtoMessage()
func (*UniformLoginState) ProtoReflect ¶
func (x *UniformLoginState) ProtoReflect() protoreflect.Message
func (*UniformLoginState) Reset ¶
func (x *UniformLoginState) Reset()
func (*UniformLoginState) String ¶
func (x *UniformLoginState) String() string
type UnimplementedBubbleChartServer ¶
type UnimplementedBubbleChartServer struct { }
UnimplementedBubbleChartServer must be embedded to have forward compatible implementations.
func (UnimplementedBubbleChartServer) Append ¶
func (UnimplementedBubbleChartServer) Append(context.Context, *BubbleChartAppendRequest) (*BubbleChartAppendResponse, error)
func (UnimplementedBubbleChartServer) GetById ¶
func (UnimplementedBubbleChartServer) GetById(context.Context, *BubbleChartGetByIdRequest) (*BubbleChartGetByIdResponse, error)
func (UnimplementedBubbleChartServer) GetRange ¶
func (UnimplementedBubbleChartServer) GetRange(context.Context, *BubbleChartGetRangeRequest) (*BubbleChartGetRangeResponse, error)
func (UnimplementedBubbleChartServer) RemoveById ¶
func (UnimplementedBubbleChartServer) RemoveById(context.Context, *BubbleChartRemoveByIdRequest) (*BubbleChartRemoveByIdResponse, error)
func (UnimplementedBubbleChartServer) SetInfo ¶
func (UnimplementedBubbleChartServer) SetInfo(context.Context, *BubbleChartSetInfoRequest) (*BubbleChartSetInfoResponse, error)
func (UnimplementedBubbleChartServer) SwapById ¶
func (UnimplementedBubbleChartServer) SwapById(context.Context, *BubbleChartSwapByIdRequest) (*BubbleChartSwapByIdResponse, error)
func (UnimplementedBubbleChartServer) SwapByRank ¶
func (UnimplementedBubbleChartServer) SwapByRank(context.Context, *BubbleChartSwapByRankRequest) (*BubbleChartSwapByRankResponse, error)
type UnimplementedDatabaseServer ¶
type UnimplementedDatabaseServer struct { }
UnimplementedDatabaseServer must be embedded to have forward compatible implementations.
func (UnimplementedDatabaseServer) Get ¶
func (UnimplementedDatabaseServer) Get(context.Context, *DatabaseGetRequest) (*DatabaseGetResponse, error)
func (UnimplementedDatabaseServer) RegisterSchema ¶
func (UnimplementedDatabaseServer) RegisterSchema(context.Context, *DatabaseRegisterSchemaRequest) (*DatabaseRegisterSchemaResponse, error)
func (UnimplementedDatabaseServer) Set ¶
func (UnimplementedDatabaseServer) Set(context.Context, *DatabaseSetRequest) (*DatabaseSetResponse, error)
type UnimplementedDistlockServer ¶
type UnimplementedDistlockServer struct { }
UnimplementedDistlockServer must be embedded to have forward compatible implementations.
func (UnimplementedDistlockServer) Lock ¶
func (UnimplementedDistlockServer) Lock(context.Context, *DistlockLockRequest) (*DistlockLockResponse, error)
func (UnimplementedDistlockServer) Unlock ¶
func (UnimplementedDistlockServer) Unlock(context.Context, *DistlockUnlockRequest) (*DistlockUnlockResponse, error)
type UnimplementedGatewayServer ¶
type UnimplementedGatewayServer struct { }
UnimplementedGatewayServer must be embedded to have forward compatible implementations.
func (UnimplementedGatewayServer) Broadcast ¶
func (UnimplementedGatewayServer) Broadcast(context.Context, *GatewayBroadcastRequest) (*GatewayBroadcastResponse, error)
func (UnimplementedGatewayServer) Connect ¶
func (UnimplementedGatewayServer) Connect(*GatewayConnectRequest, Gateway_ConnectServer) error
func (UnimplementedGatewayServer) Send ¶
func (UnimplementedGatewayServer) Send(context.Context, *GatewaySendRequest) (*GatewaySendResponse, error)
func (UnimplementedGatewayServer) Subscribe ¶
func (UnimplementedGatewayServer) Subscribe(context.Context, *GatewaySubscribeRequest) (*GatewaySubscribeResponse, error)
func (UnimplementedGatewayServer) Unsubscribe ¶
func (UnimplementedGatewayServer) Unsubscribe(context.Context, *GatewayUnsubscribeRequest) (*GatewayUnsubscribeResponse, error)
type UnimplementedLeaderboardServer ¶
type UnimplementedLeaderboardServer struct { }
UnimplementedLeaderboardServer must be embedded to have forward compatible implementations.
func (UnimplementedLeaderboardServer) GetById ¶
func (UnimplementedLeaderboardServer) GetById(context.Context, *LeaderboardGetByIdRequest) (*LeaderboardGetByIdResponse, error)
func (UnimplementedLeaderboardServer) GetRange ¶
func (UnimplementedLeaderboardServer) GetRange(context.Context, *LeaderboardGetRangeRequest) (*LeaderboardGetRangeResponse, error)
func (UnimplementedLeaderboardServer) IncrScore ¶
func (UnimplementedLeaderboardServer) IncrScore(context.Context, *LeaderboardIncrScoreRequest) (*LeaderboardIncrScoreResponse, error)
func (UnimplementedLeaderboardServer) RemoveById ¶
func (UnimplementedLeaderboardServer) RemoveById(context.Context, *LeaderboardRemoveByIdRequest) (*LeaderboardRemoveByIdResponse, error)
func (UnimplementedLeaderboardServer) SetInfo ¶
func (UnimplementedLeaderboardServer) SetInfo(context.Context, *LeaderboardSetInfoRequest) (*LeaderboardSetInfoResponse, error)
func (UnimplementedLeaderboardServer) SetScore ¶
func (UnimplementedLeaderboardServer) SetScore(context.Context, *LeaderboardSetScoreRequest) (*LeaderboardSetScoreResponse, error)
type UnimplementedMailboxServer ¶
type UnimplementedMailboxServer struct { }
UnimplementedMailboxServer must be embedded to have forward compatible implementations.
func (UnimplementedMailboxServer) List ¶
func (UnimplementedMailboxServer) List(context.Context, *MailboxListRequest) (*MailboxListResponse, error)
func (UnimplementedMailboxServer) Pull ¶
func (UnimplementedMailboxServer) Pull(context.Context, *MailboxPullRequest) (*MailboxPullResponse, error)
func (UnimplementedMailboxServer) Push ¶
func (UnimplementedMailboxServer) Push(context.Context, *MailboxPushRequest) (*MailboxPushResponse, error)
type UnimplementedRoleAdminServer ¶
type UnimplementedRoleAdminServer struct { }
UnimplementedRoleAdminServer must be embedded to have forward compatible implementations.
func (UnimplementedRoleAdminServer) Get ¶
func (UnimplementedRoleAdminServer) Get(context.Context, *RoleAdminGetRequest) (*RoleAdminGetResponse, error)
type UnimplementedRoleServer ¶
type UnimplementedRoleServer struct { }
UnimplementedRoleServer must be embedded to have forward compatible implementations.
func (UnimplementedRoleServer) Create ¶
func (UnimplementedRoleServer) Create(context.Context, *RoleCreateRequest) (*RoleCreateResponse, error)
func (UnimplementedRoleServer) GetMetadata ¶
func (UnimplementedRoleServer) GetMetadata(context.Context, *RoleGetMetadataRequest) (*RoleGetMetadataResponse, error)
func (UnimplementedRoleServer) List ¶
func (UnimplementedRoleServer) List(context.Context, *RoleListRequest) (*RoleListResponse, error)
func (UnimplementedRoleServer) SetMetadata ¶
func (UnimplementedRoleServer) SetMetadata(context.Context, *RoleSetMetadataRequest) (*RoleSetMetadataResponse, error)
func (UnimplementedRoleServer) SignIn ¶
func (UnimplementedRoleServer) SignIn(context.Context, *RoleSignInRequest) (*RoleSignInResponse, error)
type UnimplementedUserAdminServer ¶
type UnimplementedUserAdminServer struct { }
UnimplementedUserAdminServer must be embedded to have forward compatible implementations.
func (UnimplementedUserAdminServer) Ban ¶
func (UnimplementedUserAdminServer) Ban(context.Context, *UserAdminBanRequest) (*UserAdminBanResponse, error)
func (UnimplementedUserAdminServer) BindAcctId ¶
func (UnimplementedUserAdminServer) BindAcctId(context.Context, *UserAdminBindAcctIdRequest) (*UserAdminBindAcctIdResponse, error)
func (UnimplementedUserAdminServer) Get ¶
func (UnimplementedUserAdminServer) Get(context.Context, *UserAdminGetRequest) (*UserAdminGetResponse, error)
func (UnimplementedUserAdminServer) GetMetadata ¶
func (UnimplementedUserAdminServer) GetMetadata(context.Context, *UserAdminGetMetadataRequest) (*UserAdminGetMetadataResponse, error)
func (UnimplementedUserAdminServer) SetMetadata ¶
func (UnimplementedUserAdminServer) SetMetadata(context.Context, *UserAdminSetMetadataRequest) (*UserAdminSetMetadataResponse, error)
type UnimplementedUserServer ¶
type UnimplementedUserServer struct { }
UnimplementedUserServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServer) Bind ¶
func (UnimplementedUserServer) Bind(context.Context, *UserBindRequest) (*UserBindResponse, error)
func (UnimplementedUserServer) GetMetadata ¶
func (UnimplementedUserServer) GetMetadata(context.Context, *UserGetMetadataRequest) (*UserGetMetadataResponse, error)
func (UnimplementedUserServer) Login ¶
func (UnimplementedUserServer) Login(context.Context, *UserLoginRequest) (*UserLoginResponse, error)
func (UnimplementedUserServer) Logout ¶
func (UnimplementedUserServer) Logout(context.Context, *UserLogoutRequest) (*UserLogoutResponse, error)
func (UnimplementedUserServer) SetMetadata ¶
func (UnimplementedUserServer) SetMetadata(context.Context, *UserSetMetadataRequest) (*UserSetMetadataResponse, error)
func (UnimplementedUserServer) Unbind ¶
func (UnimplementedUserServer) Unbind(context.Context, *UserUnbindRequest) (*UserUnbindResponse, error)
type UnsafeBubbleChartServer ¶
type UnsafeBubbleChartServer interface {
// contains filtered or unexported methods
}
UnsafeBubbleChartServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BubbleChartServer will result in compilation errors.
type UnsafeDatabaseServer ¶
type UnsafeDatabaseServer interface {
// contains filtered or unexported methods
}
UnsafeDatabaseServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DatabaseServer will result in compilation errors.
type UnsafeDistlockServer ¶
type UnsafeDistlockServer interface {
// contains filtered or unexported methods
}
UnsafeDistlockServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DistlockServer will result in compilation errors.
type UnsafeGatewayServer ¶
type UnsafeGatewayServer interface {
// contains filtered or unexported methods
}
UnsafeGatewayServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GatewayServer will result in compilation errors.
type UnsafeLeaderboardServer ¶
type UnsafeLeaderboardServer interface {
// contains filtered or unexported methods
}
UnsafeLeaderboardServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LeaderboardServer will result in compilation errors.
type UnsafeMailboxServer ¶
type UnsafeMailboxServer interface {
// contains filtered or unexported methods
}
UnsafeMailboxServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MailboxServer will result in compilation errors.
type UnsafeRoleAdminServer ¶
type UnsafeRoleAdminServer interface {
// contains filtered or unexported methods
}
UnsafeRoleAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoleAdminServer will result in compilation errors.
type UnsafeRoleServer ¶
type UnsafeRoleServer interface {
// contains filtered or unexported methods
}
UnsafeRoleServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoleServer will result in compilation errors.
type UnsafeUserAdminServer ¶
type UnsafeUserAdminServer interface {
// contains filtered or unexported methods
}
UnsafeUserAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserAdminServer will result in compilation errors.
type UnsafeUserServer ¶
type UnsafeUserServer interface {
// contains filtered or unexported methods
}
UnsafeUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServer will result in compilation errors.
type UserAdminBanRequest ¶
type UserAdminBanRequest struct { UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` BanSeconds int64 `protobuf:"varint,2,opt,name=ban_seconds,json=banSeconds,proto3" json:"ban_seconds,omitempty"` BanFor string `protobuf:"bytes,3,opt,name=ban_for,json=banFor,proto3" json:"ban_for,omitempty"` // contains filtered or unexported fields }
func (*UserAdminBanRequest) Descriptor
deprecated
func (*UserAdminBanRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserAdminBanRequest.ProtoReflect.Descriptor instead.
func (*UserAdminBanRequest) GetBanFor ¶
func (x *UserAdminBanRequest) GetBanFor() string
func (*UserAdminBanRequest) GetBanSeconds ¶
func (x *UserAdminBanRequest) GetBanSeconds() int64
func (*UserAdminBanRequest) GetUserIds ¶
func (x *UserAdminBanRequest) GetUserIds() []string
func (*UserAdminBanRequest) ProtoMessage ¶
func (*UserAdminBanRequest) ProtoMessage()
func (*UserAdminBanRequest) ProtoReflect ¶
func (x *UserAdminBanRequest) ProtoReflect() protoreflect.Message
func (*UserAdminBanRequest) Reset ¶
func (x *UserAdminBanRequest) Reset()
func (*UserAdminBanRequest) String ¶
func (x *UserAdminBanRequest) String() string
type UserAdminBanResponse ¶
type UserAdminBanResponse struct { States []*UserBanState `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"` // contains filtered or unexported fields }
func (*UserAdminBanResponse) Descriptor
deprecated
func (*UserAdminBanResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserAdminBanResponse.ProtoReflect.Descriptor instead.
func (*UserAdminBanResponse) GetStates ¶
func (x *UserAdminBanResponse) GetStates() []*UserBanState
func (*UserAdminBanResponse) ProtoMessage ¶
func (*UserAdminBanResponse) ProtoMessage()
func (*UserAdminBanResponse) ProtoReflect ¶
func (x *UserAdminBanResponse) ProtoReflect() protoreflect.Message
func (*UserAdminBanResponse) Reset ¶
func (x *UserAdminBanResponse) Reset()
func (*UserAdminBanResponse) String ¶
func (x *UserAdminBanResponse) String() string
type UserAdminBindAcctIdRequest ¶
type UserAdminBindAcctIdRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 目标用户 AcctIds []string `protobuf:"bytes,2,rep,name=acct_ids,json=acctIds,proto3" json:"acct_ids,omitempty"` // 要转移的账号 TakeOverAcctIdIfDuplicated bool `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UserAdminBindAcctIdRequest) Descriptor
deprecated
func (*UserAdminBindAcctIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserAdminBindAcctIdRequest.ProtoReflect.Descriptor instead.
func (*UserAdminBindAcctIdRequest) GetAcctIds ¶
func (x *UserAdminBindAcctIdRequest) GetAcctIds() []string
func (*UserAdminBindAcctIdRequest) GetTakeOverAcctIdIfDuplicated ¶
func (x *UserAdminBindAcctIdRequest) GetTakeOverAcctIdIfDuplicated() bool
func (*UserAdminBindAcctIdRequest) GetUserId ¶
func (x *UserAdminBindAcctIdRequest) GetUserId() string
func (*UserAdminBindAcctIdRequest) ProtoMessage ¶
func (*UserAdminBindAcctIdRequest) ProtoMessage()
func (*UserAdminBindAcctIdRequest) ProtoReflect ¶
func (x *UserAdminBindAcctIdRequest) ProtoReflect() protoreflect.Message
func (*UserAdminBindAcctIdRequest) Reset ¶
func (x *UserAdminBindAcctIdRequest) Reset()
func (*UserAdminBindAcctIdRequest) String ¶
func (x *UserAdminBindAcctIdRequest) String() string
type UserAdminBindAcctIdResponse ¶
type UserAdminBindAcctIdResponse struct {
// contains filtered or unexported fields
}
func (*UserAdminBindAcctIdResponse) Descriptor
deprecated
func (*UserAdminBindAcctIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserAdminBindAcctIdResponse.ProtoReflect.Descriptor instead.
func (*UserAdminBindAcctIdResponse) ProtoMessage ¶
func (*UserAdminBindAcctIdResponse) ProtoMessage()
func (*UserAdminBindAcctIdResponse) ProtoReflect ¶
func (x *UserAdminBindAcctIdResponse) ProtoReflect() protoreflect.Message
func (*UserAdminBindAcctIdResponse) Reset ¶
func (x *UserAdminBindAcctIdResponse) Reset()
func (*UserAdminBindAcctIdResponse) String ¶
func (x *UserAdminBindAcctIdResponse) String() string
type UserAdminClient ¶
type UserAdminClient interface { SetMetadata(ctx context.Context, in *UserAdminSetMetadataRequest, opts ...grpc.CallOption) (*UserAdminSetMetadataResponse, error) GetMetadata(ctx context.Context, in *UserAdminGetMetadataRequest, opts ...grpc.CallOption) (*UserAdminGetMetadataResponse, error) // 查询用户 Get(ctx context.Context, in *UserAdminGetRequest, opts ...grpc.CallOption) (*UserAdminGetResponse, error) // 封禁用户 Ban(ctx context.Context, in *UserAdminBanRequest, opts ...grpc.CallOption) (*UserAdminBanResponse, error) // 账号绑定 BindAcctId(ctx context.Context, in *UserAdminBindAcctIdRequest, opts ...grpc.CallOption) (*UserAdminBindAcctIdResponse, error) }
UserAdminClient is the client API for UserAdmin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserAdminClient ¶
func NewUserAdminClient(cc grpc.ClientConnInterface) UserAdminClient
type UserAdminGetMetadataRequest ¶
type UserAdminGetMetadataRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UserAdminGetMetadataRequest) Descriptor
deprecated
func (*UserAdminGetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserAdminGetMetadataRequest.ProtoReflect.Descriptor instead.
func (*UserAdminGetMetadataRequest) GetUserId ¶
func (x *UserAdminGetMetadataRequest) GetUserId() string
func (*UserAdminGetMetadataRequest) ProtoMessage ¶
func (*UserAdminGetMetadataRequest) ProtoMessage()
func (*UserAdminGetMetadataRequest) ProtoReflect ¶
func (x *UserAdminGetMetadataRequest) ProtoReflect() protoreflect.Message
func (*UserAdminGetMetadataRequest) Reset ¶
func (x *UserAdminGetMetadataRequest) Reset()
func (*UserAdminGetMetadataRequest) String ¶
func (x *UserAdminGetMetadataRequest) String() string
type UserAdminGetMetadataResponse ¶
type UserAdminGetMetadataResponse struct { Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UserAdminGetMetadataResponse) Descriptor
deprecated
func (*UserAdminGetMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserAdminGetMetadataResponse.ProtoReflect.Descriptor instead.
func (*UserAdminGetMetadataResponse) GetMetadata ¶
func (x *UserAdminGetMetadataResponse) GetMetadata() map[string]string
func (*UserAdminGetMetadataResponse) ProtoMessage ¶
func (*UserAdminGetMetadataResponse) ProtoMessage()
func (*UserAdminGetMetadataResponse) ProtoReflect ¶
func (x *UserAdminGetMetadataResponse) ProtoReflect() protoreflect.Message
func (*UserAdminGetMetadataResponse) Reset ¶
func (x *UserAdminGetMetadataResponse) Reset()
func (*UserAdminGetMetadataResponse) String ¶
func (x *UserAdminGetMetadataResponse) String() string
type UserAdminGetRequest ¶
type UserAdminGetRequest struct { UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
func (*UserAdminGetRequest) Descriptor
deprecated
func (*UserAdminGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserAdminGetRequest.ProtoReflect.Descriptor instead.
func (*UserAdminGetRequest) GetUserIds ¶
func (x *UserAdminGetRequest) GetUserIds() []string
func (*UserAdminGetRequest) ProtoMessage ¶
func (*UserAdminGetRequest) ProtoMessage()
func (*UserAdminGetRequest) ProtoReflect ¶
func (x *UserAdminGetRequest) ProtoReflect() protoreflect.Message
func (*UserAdminGetRequest) Reset ¶
func (x *UserAdminGetRequest) Reset()
func (*UserAdminGetRequest) String ¶
func (x *UserAdminGetRequest) String() string
type UserAdminGetResponse ¶
type UserAdminGetResponse struct { Users []*UserData `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*UserAdminGetResponse) Descriptor
deprecated
func (*UserAdminGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserAdminGetResponse.ProtoReflect.Descriptor instead.
func (*UserAdminGetResponse) GetUsers ¶
func (x *UserAdminGetResponse) GetUsers() []*UserData
func (*UserAdminGetResponse) ProtoMessage ¶
func (*UserAdminGetResponse) ProtoMessage()
func (*UserAdminGetResponse) ProtoReflect ¶
func (x *UserAdminGetResponse) ProtoReflect() protoreflect.Message
func (*UserAdminGetResponse) Reset ¶
func (x *UserAdminGetResponse) Reset()
func (*UserAdminGetResponse) String ¶
func (x *UserAdminGetResponse) String() string
type UserAdminServer ¶
type UserAdminServer interface { SetMetadata(context.Context, *UserAdminSetMetadataRequest) (*UserAdminSetMetadataResponse, error) GetMetadata(context.Context, *UserAdminGetMetadataRequest) (*UserAdminGetMetadataResponse, error) // 查询用户 Get(context.Context, *UserAdminGetRequest) (*UserAdminGetResponse, error) // 封禁用户 Ban(context.Context, *UserAdminBanRequest) (*UserAdminBanResponse, error) // 账号绑定 BindAcctId(context.Context, *UserAdminBindAcctIdRequest) (*UserAdminBindAcctIdResponse, error) // contains filtered or unexported methods }
UserAdminServer is the server API for UserAdmin service. All implementations must embed UnimplementedUserAdminServer for forward compatibility
type UserAdminSetMetadataRequest ¶
type UserAdminSetMetadataRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UserAdminSetMetadataRequest) Descriptor
deprecated
func (*UserAdminSetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserAdminSetMetadataRequest.ProtoReflect.Descriptor instead.
func (*UserAdminSetMetadataRequest) GetMetadata ¶
func (x *UserAdminSetMetadataRequest) GetMetadata() map[string]string
func (*UserAdminSetMetadataRequest) GetUserId ¶
func (x *UserAdminSetMetadataRequest) GetUserId() string
func (*UserAdminSetMetadataRequest) ProtoMessage ¶
func (*UserAdminSetMetadataRequest) ProtoMessage()
func (*UserAdminSetMetadataRequest) ProtoReflect ¶
func (x *UserAdminSetMetadataRequest) ProtoReflect() protoreflect.Message
func (*UserAdminSetMetadataRequest) Reset ¶
func (x *UserAdminSetMetadataRequest) Reset()
func (*UserAdminSetMetadataRequest) String ¶
func (x *UserAdminSetMetadataRequest) String() string
type UserAdminSetMetadataResponse ¶
type UserAdminSetMetadataResponse struct {
// contains filtered or unexported fields
}
func (*UserAdminSetMetadataResponse) Descriptor
deprecated
func (*UserAdminSetMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserAdminSetMetadataResponse.ProtoReflect.Descriptor instead.
func (*UserAdminSetMetadataResponse) ProtoMessage ¶
func (*UserAdminSetMetadataResponse) ProtoMessage()
func (*UserAdminSetMetadataResponse) ProtoReflect ¶
func (x *UserAdminSetMetadataResponse) ProtoReflect() protoreflect.Message
func (*UserAdminSetMetadataResponse) Reset ¶
func (x *UserAdminSetMetadataResponse) Reset()
func (*UserAdminSetMetadataResponse) String ¶
func (x *UserAdminSetMetadataResponse) String() string
type UserBanState ¶
type UserBanState struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` BanTo int64 `protobuf:"varint,2,opt,name=ban_to,json=banTo,proto3" json:"ban_to,omitempty"` BanFor string `protobuf:"bytes,3,opt,name=ban_for,json=banFor,proto3" json:"ban_for,omitempty"` // contains filtered or unexported fields }
func (*UserBanState) Descriptor
deprecated
func (*UserBanState) Descriptor() ([]byte, []int)
Deprecated: Use UserBanState.ProtoReflect.Descriptor instead.
func (*UserBanState) GetBanFor ¶
func (x *UserBanState) GetBanFor() string
func (*UserBanState) GetBanTo ¶
func (x *UserBanState) GetBanTo() int64
func (*UserBanState) GetId ¶
func (x *UserBanState) GetId() string
func (*UserBanState) ProtoMessage ¶
func (*UserBanState) ProtoMessage()
func (*UserBanState) ProtoReflect ¶
func (x *UserBanState) ProtoReflect() protoreflect.Message
func (*UserBanState) Reset ¶
func (x *UserBanState) Reset()
func (*UserBanState) String ¶
func (x *UserBanState) String() string
type UserBindRequest ¶
type UserBindRequest struct { State *anypb.Any `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*UserBindRequest) Descriptor
deprecated
func (*UserBindRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserBindRequest.ProtoReflect.Descriptor instead.
func (*UserBindRequest) GetState ¶
func (x *UserBindRequest) GetState() *anypb.Any
func (*UserBindRequest) ProtoMessage ¶
func (*UserBindRequest) ProtoMessage()
func (*UserBindRequest) ProtoReflect ¶
func (x *UserBindRequest) ProtoReflect() protoreflect.Message
func (*UserBindRequest) Reset ¶
func (x *UserBindRequest) Reset()
func (*UserBindRequest) String ¶
func (x *UserBindRequest) String() string
type UserBindResponse ¶
type UserBindResponse struct { AcctIds []string `protobuf:"bytes,1,rep,name=acct_ids,json=acctIds,proto3" json:"acct_ids,omitempty"` // contains filtered or unexported fields }
func (*UserBindResponse) Descriptor
deprecated
func (*UserBindResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserBindResponse.ProtoReflect.Descriptor instead.
func (*UserBindResponse) GetAcctIds ¶
func (x *UserBindResponse) GetAcctIds() []string
func (*UserBindResponse) ProtoMessage ¶
func (*UserBindResponse) ProtoMessage()
func (*UserBindResponse) ProtoReflect ¶
func (x *UserBindResponse) ProtoReflect() protoreflect.Message
func (*UserBindResponse) Reset ¶
func (x *UserBindResponse) Reset()
func (*UserBindResponse) String ¶
func (x *UserBindResponse) String() string
type UserClient ¶
type UserClient interface { Login(ctx context.Context, in *UserLoginRequest, opts ...grpc.CallOption) (*UserLoginResponse, error) Logout(ctx context.Context, in *UserLogoutRequest, opts ...grpc.CallOption) (*UserLogoutResponse, error) Bind(ctx context.Context, in *UserBindRequest, opts ...grpc.CallOption) (*UserBindResponse, error) Unbind(ctx context.Context, in *UserUnbindRequest, opts ...grpc.CallOption) (*UserUnbindResponse, error) SetMetadata(ctx context.Context, in *UserSetMetadataRequest, opts ...grpc.CallOption) (*UserSetMetadataResponse, error) GetMetadata(ctx context.Context, in *UserGetMetadataRequest, opts ...grpc.CallOption) (*UserGetMetadataResponse, error) }
UserClient is the client API for User service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserClient ¶
func NewUserClient(cc grpc.ClientConnInterface) UserClient
type UserData ¶
type UserData struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AcctIds []string `protobuf:"bytes,4,rep,name=acct_ids,json=acctIds,proto3" json:"acct_ids,omitempty"` Metadata map[string]string `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UserData) Descriptor
deprecated
func (*UserData) GetAcctIds ¶
func (*UserData) GetMetadata ¶
func (*UserData) ProtoMessage ¶
func (*UserData) ProtoMessage()
func (*UserData) ProtoReflect ¶
func (x *UserData) ProtoReflect() protoreflect.Message
type UserGetMetadataRequest ¶
type UserGetMetadataRequest struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
func (*UserGetMetadataRequest) Descriptor
deprecated
func (*UserGetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserGetMetadataRequest.ProtoReflect.Descriptor instead.
func (*UserGetMetadataRequest) GetKeys ¶
func (x *UserGetMetadataRequest) GetKeys() []string
func (*UserGetMetadataRequest) ProtoMessage ¶
func (*UserGetMetadataRequest) ProtoMessage()
func (*UserGetMetadataRequest) ProtoReflect ¶
func (x *UserGetMetadataRequest) ProtoReflect() protoreflect.Message
func (*UserGetMetadataRequest) Reset ¶
func (x *UserGetMetadataRequest) Reset()
func (*UserGetMetadataRequest) String ¶
func (x *UserGetMetadataRequest) String() string
type UserGetMetadataResponse ¶
type UserGetMetadataResponse struct { Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UserGetMetadataResponse) Descriptor
deprecated
func (*UserGetMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserGetMetadataResponse.ProtoReflect.Descriptor instead.
func (*UserGetMetadataResponse) GetMetadata ¶
func (x *UserGetMetadataResponse) GetMetadata() map[string]string
func (*UserGetMetadataResponse) ProtoMessage ¶
func (*UserGetMetadataResponse) ProtoMessage()
func (*UserGetMetadataResponse) ProtoReflect ¶
func (x *UserGetMetadataResponse) ProtoReflect() protoreflect.Message
func (*UserGetMetadataResponse) Reset ¶
func (x *UserGetMetadataResponse) Reset()
func (*UserGetMetadataResponse) String ¶
func (x *UserGetMetadataResponse) String() string
type UserLoginRequest ¶
type UserLoginRequest struct { AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` State *anypb.Any `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // options CreateIfNotFound bool `protobuf:"varint,10,opt,name=create_if_not_found,json=createIfNotFound,proto3" json:"create_if_not_found,omitempty"` // contains filtered or unexported fields }
func (*UserLoginRequest) Descriptor
deprecated
func (*UserLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserLoginRequest.ProtoReflect.Descriptor instead.
func (*UserLoginRequest) GetAppId ¶
func (x *UserLoginRequest) GetAppId() string
func (*UserLoginRequest) GetCreateIfNotFound ¶
func (x *UserLoginRequest) GetCreateIfNotFound() bool
func (*UserLoginRequest) GetState ¶
func (x *UserLoginRequest) GetState() *anypb.Any
func (*UserLoginRequest) ProtoMessage ¶
func (*UserLoginRequest) ProtoMessage()
func (*UserLoginRequest) ProtoReflect ¶
func (x *UserLoginRequest) ProtoReflect() protoreflect.Message
func (*UserLoginRequest) Reset ¶
func (x *UserLoginRequest) Reset()
func (*UserLoginRequest) String ¶
func (x *UserLoginRequest) String() string
type UserLoginResponse ¶
type UserLoginResponse struct { User *UserData `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UserLoginResponse) Descriptor
deprecated
func (*UserLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserLoginResponse.ProtoReflect.Descriptor instead.
func (*UserLoginResponse) GetUser ¶
func (x *UserLoginResponse) GetUser() *UserData
func (*UserLoginResponse) ProtoMessage ¶
func (*UserLoginResponse) ProtoMessage()
func (*UserLoginResponse) ProtoReflect ¶
func (x *UserLoginResponse) ProtoReflect() protoreflect.Message
func (*UserLoginResponse) Reset ¶
func (x *UserLoginResponse) Reset()
func (*UserLoginResponse) String ¶
func (x *UserLoginResponse) String() string
type UserLogoutRequest ¶
type UserLogoutRequest struct {
// contains filtered or unexported fields
}
func (*UserLogoutRequest) Descriptor
deprecated
func (*UserLogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserLogoutRequest.ProtoReflect.Descriptor instead.
func (*UserLogoutRequest) ProtoMessage ¶
func (*UserLogoutRequest) ProtoMessage()
func (*UserLogoutRequest) ProtoReflect ¶
func (x *UserLogoutRequest) ProtoReflect() protoreflect.Message
func (*UserLogoutRequest) Reset ¶
func (x *UserLogoutRequest) Reset()
func (*UserLogoutRequest) String ¶
func (x *UserLogoutRequest) String() string
type UserLogoutResponse ¶
type UserLogoutResponse struct {
// contains filtered or unexported fields
}
func (*UserLogoutResponse) Descriptor
deprecated
func (*UserLogoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserLogoutResponse.ProtoReflect.Descriptor instead.
func (*UserLogoutResponse) ProtoMessage ¶
func (*UserLogoutResponse) ProtoMessage()
func (*UserLogoutResponse) ProtoReflect ¶
func (x *UserLogoutResponse) ProtoReflect() protoreflect.Message
func (*UserLogoutResponse) Reset ¶
func (x *UserLogoutResponse) Reset()
func (*UserLogoutResponse) String ¶
func (x *UserLogoutResponse) String() string
type UserServer ¶
type UserServer interface { Login(context.Context, *UserLoginRequest) (*UserLoginResponse, error) Logout(context.Context, *UserLogoutRequest) (*UserLogoutResponse, error) Bind(context.Context, *UserBindRequest) (*UserBindResponse, error) Unbind(context.Context, *UserUnbindRequest) (*UserUnbindResponse, error) SetMetadata(context.Context, *UserSetMetadataRequest) (*UserSetMetadataResponse, error) GetMetadata(context.Context, *UserGetMetadataRequest) (*UserGetMetadataResponse, error) // contains filtered or unexported methods }
UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility
type UserSetMetadataRequest ¶
type UserSetMetadataRequest struct { Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UserSetMetadataRequest) Descriptor
deprecated
func (*UserSetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserSetMetadataRequest.ProtoReflect.Descriptor instead.
func (*UserSetMetadataRequest) GetMetadata ¶
func (x *UserSetMetadataRequest) GetMetadata() map[string]string
func (*UserSetMetadataRequest) ProtoMessage ¶
func (*UserSetMetadataRequest) ProtoMessage()
func (*UserSetMetadataRequest) ProtoReflect ¶
func (x *UserSetMetadataRequest) ProtoReflect() protoreflect.Message
func (*UserSetMetadataRequest) Reset ¶
func (x *UserSetMetadataRequest) Reset()
func (*UserSetMetadataRequest) String ¶
func (x *UserSetMetadataRequest) String() string
type UserSetMetadataResponse ¶
type UserSetMetadataResponse struct {
// contains filtered or unexported fields
}
func (*UserSetMetadataResponse) Descriptor
deprecated
func (*UserSetMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserSetMetadataResponse.ProtoReflect.Descriptor instead.
func (*UserSetMetadataResponse) ProtoMessage ¶
func (*UserSetMetadataResponse) ProtoMessage()
func (*UserSetMetadataResponse) ProtoReflect ¶
func (x *UserSetMetadataResponse) ProtoReflect() protoreflect.Message
func (*UserSetMetadataResponse) Reset ¶
func (x *UserSetMetadataResponse) Reset()
func (*UserSetMetadataResponse) String ¶
func (x *UserSetMetadataResponse) String() string
type UserUnbindRequest ¶
type UserUnbindRequest struct { AcctIds []string `protobuf:"bytes,1,rep,name=acct_ids,json=acctIds,proto3" json:"acct_ids,omitempty"` // contains filtered or unexported fields }
func (*UserUnbindRequest) Descriptor
deprecated
func (*UserUnbindRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserUnbindRequest.ProtoReflect.Descriptor instead.
func (*UserUnbindRequest) GetAcctIds ¶
func (x *UserUnbindRequest) GetAcctIds() []string
func (*UserUnbindRequest) ProtoMessage ¶
func (*UserUnbindRequest) ProtoMessage()
func (*UserUnbindRequest) ProtoReflect ¶
func (x *UserUnbindRequest) ProtoReflect() protoreflect.Message
func (*UserUnbindRequest) Reset ¶
func (x *UserUnbindRequest) Reset()
func (*UserUnbindRequest) String ¶
func (x *UserUnbindRequest) String() string
type UserUnbindResponse ¶
type UserUnbindResponse struct { AcctIds []string `protobuf:"bytes,1,rep,name=acct_ids,json=acctIds,proto3" json:"acct_ids,omitempty"` // contains filtered or unexported fields }
func (*UserUnbindResponse) Descriptor
deprecated
func (*UserUnbindResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserUnbindResponse.ProtoReflect.Descriptor instead.
func (*UserUnbindResponse) GetAcctIds ¶
func (x *UserUnbindResponse) GetAcctIds() []string
func (*UserUnbindResponse) ProtoMessage ¶
func (*UserUnbindResponse) ProtoMessage()
func (*UserUnbindResponse) ProtoReflect ¶
func (x *UserUnbindResponse) ProtoReflect() protoreflect.Message
func (*UserUnbindResponse) Reset ¶
func (x *UserUnbindResponse) Reset()
func (*UserUnbindResponse) String ¶
func (x *UserUnbindResponse) String() string
Source Files ¶
- bubblechart.pb.go
- bubblechart_grpc.pb.go
- chart.pb.go
- database.pb.go
- database_grpc.pb.go
- distlock.pb.go
- distlock_grpc.pb.go
- entrykey.pb.go
- gateway.pb.go
- gateway_grpc.pb.go
- leaderboard.pb.go
- leaderboard_grpc.pb.go
- mailbox.pb.go
- mailbox_grpc.pb.go
- role.pb.go
- role_grpc.pb.go
- roleadmin.pb.go
- roleadmin_grpc.pb.go
- user.pb.go
- user_grpc.pb.go
- useradmin.pb.go
- useradmin_grpc.pb.go