Documentation ¶
Overview ¶
Package console is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterConsoleHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterConsoleHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ConsoleClient) error
- func RegisterConsoleHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterConsoleHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ConsoleServer) error
- func RegisterConsoleServer(s grpc.ServiceRegistrar, srv ConsoleServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAccount() *api.Account
- func (x *Account) GetDisableTime() *timestamppb.Timestamp
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountDeleteRequest
- func (*AccountDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountDeleteRequest) GetId() string
- func (x *AccountDeleteRequest) GetRecordDeletion() *wrapperspb.BoolValue
- func (*AccountDeleteRequest) ProtoMessage()
- func (x *AccountDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *AccountDeleteRequest) Reset()
- func (x *AccountDeleteRequest) String() string
- type AccountExport
- func (*AccountExport) Descriptor() ([]byte, []int)deprecated
- func (x *AccountExport) GetAccount() *api.Account
- func (x *AccountExport) GetFriends() []*api.Friend
- func (x *AccountExport) GetGroups() []*api.Group
- func (x *AccountExport) GetLeaderboardRecords() []*api.LeaderboardRecord
- func (x *AccountExport) GetMessages() []*api.ChannelMessage
- func (x *AccountExport) GetNotifications() []*api.Notification
- func (x *AccountExport) GetObjects() []*api.StorageObject
- func (x *AccountExport) GetWalletLedgers() []*WalletLedger
- func (*AccountExport) ProtoMessage()
- func (x *AccountExport) ProtoReflect() protoreflect.Message
- func (x *AccountExport) Reset()
- func (x *AccountExport) String() string
- type AccountId
- type AccountList
- func (*AccountList) Descriptor() ([]byte, []int)deprecated
- func (x *AccountList) GetNextCursor() string
- func (x *AccountList) GetTotalCount() int32
- func (x *AccountList) GetUsers() []*api.User
- func (*AccountList) ProtoMessage()
- func (x *AccountList) ProtoReflect() protoreflect.Message
- func (x *AccountList) Reset()
- func (x *AccountList) String() string
- type AddUserRequest
- func (*AddUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserRequest) GetEmail() string
- func (x *AddUserRequest) GetNewsletterSubscription() bool
- func (x *AddUserRequest) GetPassword() string
- func (x *AddUserRequest) GetRole() UserRole
- func (x *AddUserRequest) GetUsername() string
- func (*AddUserRequest) ProtoMessage()
- func (x *AddUserRequest) ProtoReflect() protoreflect.Message
- func (x *AddUserRequest) Reset()
- func (x *AddUserRequest) String() string
- type ApiEndpointDescriptor
- func (*ApiEndpointDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *ApiEndpointDescriptor) GetBodyTemplate() string
- func (x *ApiEndpointDescriptor) GetMethod() string
- func (*ApiEndpointDescriptor) ProtoMessage()
- func (x *ApiEndpointDescriptor) ProtoReflect() protoreflect.Message
- func (x *ApiEndpointDescriptor) Reset()
- func (x *ApiEndpointDescriptor) String() string
- type ApiEndpointList
- func (*ApiEndpointList) Descriptor() ([]byte, []int)deprecated
- func (x *ApiEndpointList) GetEndpoints() []*ApiEndpointDescriptor
- func (x *ApiEndpointList) GetRpcEndpoints() []*ApiEndpointDescriptor
- func (*ApiEndpointList) ProtoMessage()
- func (x *ApiEndpointList) ProtoReflect() protoreflect.Message
- func (x *ApiEndpointList) Reset()
- func (x *ApiEndpointList) String() string
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateRequest) GetPassword() string
- func (x *AuthenticateRequest) GetUsername() string
- func (*AuthenticateRequest) ProtoMessage()
- func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateRequest) Reset()
- func (x *AuthenticateRequest) String() string
- type CallApiEndpointRequest
- func (*CallApiEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallApiEndpointRequest) GetBody() string
- func (x *CallApiEndpointRequest) GetMethod() string
- func (x *CallApiEndpointRequest) GetUserId() string
- func (*CallApiEndpointRequest) ProtoMessage()
- func (x *CallApiEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *CallApiEndpointRequest) Reset()
- func (x *CallApiEndpointRequest) String() string
- type CallApiEndpointResponse
- func (*CallApiEndpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallApiEndpointResponse) GetBody() string
- func (x *CallApiEndpointResponse) GetErrorMessage() string
- func (*CallApiEndpointResponse) ProtoMessage()
- func (x *CallApiEndpointResponse) ProtoReflect() protoreflect.Message
- func (x *CallApiEndpointResponse) Reset()
- func (x *CallApiEndpointResponse) String() string
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetConfig() string
- func (x *Config) GetServerVersion() string
- func (x *Config) GetWarnings() []*Config_Warning
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Config_Warning
- func (*Config_Warning) Descriptor() ([]byte, []int)deprecated
- func (x *Config_Warning) GetField() string
- func (x *Config_Warning) GetMessage() string
- func (*Config_Warning) ProtoMessage()
- func (x *Config_Warning) ProtoReflect() protoreflect.Message
- func (x *Config_Warning) Reset()
- func (x *Config_Warning) String() string
- type ConsoleClient
- type ConsoleServer
- type ConsoleSession
- type DeleteFriendRequest
- func (*DeleteFriendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFriendRequest) GetFriendId() string
- func (x *DeleteFriendRequest) GetId() string
- func (*DeleteFriendRequest) ProtoMessage()
- func (x *DeleteFriendRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFriendRequest) Reset()
- func (x *DeleteFriendRequest) String() string
- type DeleteGroupUserRequest
- func (*DeleteGroupUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupUserRequest) GetGroupId() string
- func (x *DeleteGroupUserRequest) GetId() string
- func (*DeleteGroupUserRequest) ProtoMessage()
- func (x *DeleteGroupUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupUserRequest) Reset()
- func (x *DeleteGroupUserRequest) String() string
- type DeleteLeaderboardRecordRequest
- func (*DeleteLeaderboardRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteLeaderboardRecordRequest) GetId() string
- func (x *DeleteLeaderboardRecordRequest) GetOwnerId() string
- func (*DeleteLeaderboardRecordRequest) ProtoMessage()
- func (x *DeleteLeaderboardRecordRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteLeaderboardRecordRequest) Reset()
- func (x *DeleteLeaderboardRecordRequest) String() string
- type DeleteStorageObjectRequest
- func (*DeleteStorageObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStorageObjectRequest) GetCollection() string
- func (x *DeleteStorageObjectRequest) GetKey() string
- func (x *DeleteStorageObjectRequest) GetUserId() string
- func (x *DeleteStorageObjectRequest) GetVersion() string
- func (*DeleteStorageObjectRequest) ProtoMessage()
- func (x *DeleteStorageObjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteStorageObjectRequest) Reset()
- func (x *DeleteStorageObjectRequest) String() string
- type DeleteWalletLedgerRequest
- func (*DeleteWalletLedgerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWalletLedgerRequest) GetId() string
- func (x *DeleteWalletLedgerRequest) GetWalletId() string
- func (*DeleteWalletLedgerRequest) ProtoMessage()
- func (x *DeleteWalletLedgerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteWalletLedgerRequest) Reset()
- func (x *DeleteWalletLedgerRequest) String() string
- type GetWalletLedgerRequest
- func (*GetWalletLedgerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWalletLedgerRequest) GetAccountId() string
- func (x *GetWalletLedgerRequest) GetCursor() string
- func (x *GetWalletLedgerRequest) GetLimit() uint32
- func (*GetWalletLedgerRequest) ProtoMessage()
- func (x *GetWalletLedgerRequest) ProtoReflect() protoreflect.Message
- func (x *GetWalletLedgerRequest) Reset()
- func (x *GetWalletLedgerRequest) String() string
- type Leaderboard
- func (*Leaderboard) Descriptor() ([]byte, []int)deprecated
- func (x *Leaderboard) GetAuthoritative() bool
- func (x *Leaderboard) GetCategory() uint32
- func (x *Leaderboard) GetCreateTime() *timestamppb.Timestamp
- func (x *Leaderboard) GetDescription() string
- func (x *Leaderboard) GetDuration() uint32
- func (x *Leaderboard) GetEndActive() uint32
- func (x *Leaderboard) GetEndTime() *timestamppb.Timestamp
- func (x *Leaderboard) GetId() string
- func (x *Leaderboard) GetJoinRequired() bool
- func (x *Leaderboard) GetMaxNumScore() uint32
- func (x *Leaderboard) GetMaxSize() uint32
- func (x *Leaderboard) GetMetadata() string
- func (x *Leaderboard) GetOperator() uint32
- func (x *Leaderboard) GetResetSchedule() string
- func (x *Leaderboard) GetSize() uint32
- func (x *Leaderboard) GetSortOrder() uint32
- func (x *Leaderboard) GetStartActive() uint32
- func (x *Leaderboard) GetStartTime() *timestamppb.Timestamp
- func (x *Leaderboard) GetTitle() string
- func (x *Leaderboard) GetTournament() bool
- func (*Leaderboard) ProtoMessage()
- func (x *Leaderboard) ProtoReflect() protoreflect.Message
- func (x *Leaderboard) Reset()
- func (x *Leaderboard) String() string
- type LeaderboardList
- type LeaderboardRequest
- type ListAccountsRequest
- func (*ListAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountsRequest) GetCursor() string
- func (x *ListAccountsRequest) GetFilter() string
- func (x *ListAccountsRequest) GetTombstones() bool
- func (*ListAccountsRequest) ProtoMessage()
- func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccountsRequest) Reset()
- func (x *ListAccountsRequest) String() string
- type ListPurchasesRequest
- func (*ListPurchasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPurchasesRequest) GetCursor() string
- func (x *ListPurchasesRequest) GetLimit() uint32
- func (x *ListPurchasesRequest) GetUserId() string
- func (*ListPurchasesRequest) ProtoMessage()
- func (x *ListPurchasesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPurchasesRequest) Reset()
- func (x *ListPurchasesRequest) String() string
- type ListStorageRequest
- func (*ListStorageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListStorageRequest) GetCollection() string
- func (x *ListStorageRequest) GetCursor() string
- func (x *ListStorageRequest) GetKey() string
- func (x *ListStorageRequest) GetUserId() string
- func (*ListStorageRequest) ProtoMessage()
- func (x *ListStorageRequest) ProtoReflect() protoreflect.Message
- func (x *ListStorageRequest) Reset()
- func (x *ListStorageRequest) String() string
- type MatchState
- func (*MatchState) Descriptor() ([]byte, []int)deprecated
- func (x *MatchState) GetPresences() []*rtapi.UserPresence
- func (x *MatchState) GetState() string
- func (x *MatchState) GetTick() int64
- func (*MatchState) ProtoMessage()
- func (x *MatchState) ProtoReflect() protoreflect.Message
- func (x *MatchState) Reset()
- func (x *MatchState) String() string
- type MatchStateRequest
- type RuntimeInfo
- func (*RuntimeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeInfo) GetGoModules() []*RuntimeInfo_ModuleInfo
- func (x *RuntimeInfo) GetGoRpcFunctions() []string
- func (x *RuntimeInfo) GetJsModules() []*RuntimeInfo_ModuleInfo
- func (x *RuntimeInfo) GetJsRpcFunctions() []string
- func (x *RuntimeInfo) GetLuaModules() []*RuntimeInfo_ModuleInfo
- func (x *RuntimeInfo) GetLuaRpcFunctions() []string
- func (*RuntimeInfo) ProtoMessage()
- func (x *RuntimeInfo) ProtoReflect() protoreflect.Message
- func (x *RuntimeInfo) Reset()
- func (x *RuntimeInfo) String() string
- type RuntimeInfo_ModuleInfo
- func (*RuntimeInfo_ModuleInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeInfo_ModuleInfo) GetModTime() *timestamppb.Timestamp
- func (x *RuntimeInfo_ModuleInfo) GetPath() string
- func (*RuntimeInfo_ModuleInfo) ProtoMessage()
- func (x *RuntimeInfo_ModuleInfo) ProtoReflect() protoreflect.Message
- func (x *RuntimeInfo_ModuleInfo) Reset()
- func (x *RuntimeInfo_ModuleInfo) String() string
- type StatusHealth
- func (StatusHealth) Descriptor() protoreflect.EnumDescriptor
- func (x StatusHealth) Enum() *StatusHealth
- func (StatusHealth) EnumDescriptor() ([]byte, []int)deprecated
- func (x StatusHealth) Number() protoreflect.EnumNumber
- func (x StatusHealth) String() string
- func (StatusHealth) Type() protoreflect.EnumType
- type StatusList
- func (*StatusList) Descriptor() ([]byte, []int)deprecated
- func (x *StatusList) GetNodes() []*StatusList_Status
- func (x *StatusList) GetTimestamp() *timestamppb.Timestamp
- func (*StatusList) ProtoMessage()
- func (x *StatusList) ProtoReflect() protoreflect.Message
- func (x *StatusList) Reset()
- func (x *StatusList) String() string
- type StatusList_Status
- func (*StatusList_Status) Descriptor() ([]byte, []int)deprecated
- func (x *StatusList_Status) GetAvgInputKbs() float64
- func (x *StatusList_Status) GetAvgLatencyMs() float64
- func (x *StatusList_Status) GetAvgOutputKbs() float64
- func (x *StatusList_Status) GetAvgRateSec() float64
- func (x *StatusList_Status) GetGoroutineCount() int32
- func (x *StatusList_Status) GetHealth() StatusHealth
- func (x *StatusList_Status) GetMatchCount() int32
- func (x *StatusList_Status) GetName() string
- func (x *StatusList_Status) GetPresenceCount() int32
- func (x *StatusList_Status) GetSessionCount() int32
- func (*StatusList_Status) ProtoMessage()
- func (x *StatusList_Status) ProtoReflect() protoreflect.Message
- func (x *StatusList_Status) Reset()
- func (x *StatusList_Status) String() string
- type StorageCollectionsList
- func (*StorageCollectionsList) Descriptor() ([]byte, []int)deprecated
- func (x *StorageCollectionsList) GetCollections() []string
- func (*StorageCollectionsList) ProtoMessage()
- func (x *StorageCollectionsList) ProtoReflect() protoreflect.Message
- func (x *StorageCollectionsList) Reset()
- func (x *StorageCollectionsList) String() string
- type StorageList
- func (*StorageList) Descriptor() ([]byte, []int)deprecated
- func (x *StorageList) GetNextCursor() string
- func (x *StorageList) GetObjects() []*api.StorageObject
- func (x *StorageList) GetTotalCount() int32
- func (*StorageList) ProtoMessage()
- func (x *StorageList) ProtoReflect() protoreflect.Message
- func (x *StorageList) Reset()
- func (x *StorageList) String() string
- type UnimplementedConsoleServer
- func (UnimplementedConsoleServer) AddUser(context.Context, *AddUserRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) Authenticate(context.Context, *AuthenticateRequest) (*ConsoleSession, error)
- func (UnimplementedConsoleServer) BanAccount(context.Context, *AccountId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) CallApiEndpoint(context.Context, *CallApiEndpointRequest) (*CallApiEndpointResponse, error)
- func (UnimplementedConsoleServer) CallRpcEndpoint(context.Context, *CallApiEndpointRequest) (*CallApiEndpointResponse, error)
- func (UnimplementedConsoleServer) DeleteAccount(context.Context, *AccountDeleteRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteAccounts(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteFriend(context.Context, *DeleteFriendRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteGroupUser(context.Context, *DeleteGroupUserRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteLeaderboard(context.Context, *LeaderboardRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteLeaderboardRecord(context.Context, *DeleteLeaderboardRecordRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteStorage(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteStorageObject(context.Context, *DeleteStorageObjectRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteUser(context.Context, *Username) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteWalletLedger(context.Context, *DeleteWalletLedgerRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) ExportAccount(context.Context, *AccountId) (*AccountExport, error)
- func (UnimplementedConsoleServer) GetAccount(context.Context, *AccountId) (*Account, error)
- func (UnimplementedConsoleServer) GetConfig(context.Context, *emptypb.Empty) (*Config, error)
- func (UnimplementedConsoleServer) GetFriends(context.Context, *AccountId) (*api.FriendList, error)
- func (UnimplementedConsoleServer) GetGroups(context.Context, *AccountId) (*api.UserGroupList, error)
- func (UnimplementedConsoleServer) GetLeaderboard(context.Context, *LeaderboardRequest) (*Leaderboard, error)
- func (UnimplementedConsoleServer) GetMatchState(context.Context, *MatchStateRequest) (*MatchState, error)
- func (UnimplementedConsoleServer) GetRuntime(context.Context, *emptypb.Empty) (*RuntimeInfo, error)
- func (UnimplementedConsoleServer) GetStatus(context.Context, *emptypb.Empty) (*StatusList, error)
- func (UnimplementedConsoleServer) GetStorage(context.Context, *api.ReadStorageObjectId) (*api.StorageObject, error)
- func (UnimplementedConsoleServer) GetWalletLedger(context.Context, *GetWalletLedgerRequest) (*WalletLedgerList, error)
- func (UnimplementedConsoleServer) ListAccounts(context.Context, *ListAccountsRequest) (*AccountList, error)
- func (UnimplementedConsoleServer) ListApiEndpoints(context.Context, *emptypb.Empty) (*ApiEndpointList, error)
- func (UnimplementedConsoleServer) ListLeaderboardRecords(context.Context, *api.ListLeaderboardRecordsRequest) (*api.LeaderboardRecordList, error)
- func (UnimplementedConsoleServer) ListLeaderboards(context.Context, *emptypb.Empty) (*LeaderboardList, error)
- func (UnimplementedConsoleServer) ListMatches(context.Context, *api.ListMatchesRequest) (*api.MatchList, error)
- func (UnimplementedConsoleServer) ListPurchases(context.Context, *ListPurchasesRequest) (*api.PurchaseList, error)
- func (UnimplementedConsoleServer) ListStorage(context.Context, *ListStorageRequest) (*StorageList, error)
- func (UnimplementedConsoleServer) ListStorageCollections(context.Context, *emptypb.Empty) (*StorageCollectionsList, error)
- func (UnimplementedConsoleServer) ListUsers(context.Context, *emptypb.Empty) (*UserList, error)
- func (UnimplementedConsoleServer) UnbanAccount(context.Context, *AccountId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) UnlinkApple(context.Context, *AccountId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) UnlinkCustom(context.Context, *AccountId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) UnlinkDevice(context.Context, *UnlinkDeviceRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) UnlinkEmail(context.Context, *AccountId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) UnlinkFacebook(context.Context, *AccountId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) UnlinkFacebookInstantGame(context.Context, *AccountId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) UnlinkGameCenter(context.Context, *AccountId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) UnlinkGoogle(context.Context, *AccountId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) UnlinkSteam(context.Context, *AccountId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) WriteStorageObject(context.Context, *WriteStorageObjectRequest) (*api.StorageObjectAck, error)
- type UnlinkDeviceRequest
- func (*UnlinkDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlinkDeviceRequest) GetDeviceId() string
- func (x *UnlinkDeviceRequest) GetId() string
- func (*UnlinkDeviceRequest) ProtoMessage()
- func (x *UnlinkDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *UnlinkDeviceRequest) Reset()
- func (x *UnlinkDeviceRequest) String() string
- type UnsafeConsoleServer
- type UpdateAccountRequest
- func (*UpdateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountRequest) GetAvatarUrl() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetCustomId() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetDeviceIds() map[string]string
- func (x *UpdateAccountRequest) GetDisplayName() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetEmail() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetId() string
- func (x *UpdateAccountRequest) GetLangTag() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetLocation() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetMetadata() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetPassword() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetTimezone() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetUsername() *wrapperspb.StringValue
- func (x *UpdateAccountRequest) GetWallet() *wrapperspb.StringValue
- func (*UpdateAccountRequest) ProtoMessage()
- func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountRequest) Reset()
- func (x *UpdateAccountRequest) String() string
- type UserList
- type UserList_User
- func (*UserList_User) Descriptor() ([]byte, []int)deprecated
- func (x *UserList_User) GetEmail() string
- func (x *UserList_User) GetRole() UserRole
- func (x *UserList_User) GetUsername() string
- func (*UserList_User) ProtoMessage()
- func (x *UserList_User) ProtoReflect() protoreflect.Message
- func (x *UserList_User) Reset()
- func (x *UserList_User) String() string
- type UserRole
- type Username
- type WalletLedger
- func (*WalletLedger) Descriptor() ([]byte, []int)deprecated
- func (x *WalletLedger) GetChangeset() string
- func (x *WalletLedger) GetCreateTime() *timestamppb.Timestamp
- func (x *WalletLedger) GetId() string
- func (x *WalletLedger) GetMetadata() string
- func (x *WalletLedger) GetUpdateTime() *timestamppb.Timestamp
- func (x *WalletLedger) GetUserId() string
- func (*WalletLedger) ProtoMessage()
- func (x *WalletLedger) ProtoReflect() protoreflect.Message
- func (x *WalletLedger) Reset()
- func (x *WalletLedger) String() string
- type WalletLedgerList
- func (*WalletLedgerList) Descriptor() ([]byte, []int)deprecated
- func (x *WalletLedgerList) GetItems() []*WalletLedger
- func (x *WalletLedgerList) GetNextCursor() string
- func (x *WalletLedgerList) GetPrevCursor() string
- func (*WalletLedgerList) ProtoMessage()
- func (x *WalletLedgerList) ProtoReflect() protoreflect.Message
- func (x *WalletLedgerList) Reset()
- func (x *WalletLedgerList) String() string
- type WriteStorageObjectRequest
- func (*WriteStorageObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteStorageObjectRequest) GetCollection() string
- func (x *WriteStorageObjectRequest) GetKey() string
- func (x *WriteStorageObjectRequest) GetPermissionRead() *wrapperspb.Int32Value
- func (x *WriteStorageObjectRequest) GetPermissionWrite() *wrapperspb.Int32Value
- func (x *WriteStorageObjectRequest) GetUserId() string
- func (x *WriteStorageObjectRequest) GetValue() string
- func (x *WriteStorageObjectRequest) GetVersion() string
- func (*WriteStorageObjectRequest) ProtoMessage()
- func (x *WriteStorageObjectRequest) ProtoReflect() protoreflect.Message
- func (x *WriteStorageObjectRequest) Reset()
- func (x *WriteStorageObjectRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( UserRole_name = map[int32]string{ 0: "USER_ROLE_UNKNOWN", 1: "USER_ROLE_ADMIN", 2: "USER_ROLE_DEVELOPER", 3: "USER_ROLE_MAINTAINER", 4: "USER_ROLE_READONLY", } UserRole_value = map[string]int32{ "USER_ROLE_UNKNOWN": 0, "USER_ROLE_ADMIN": 1, "USER_ROLE_DEVELOPER": 2, "USER_ROLE_MAINTAINER": 3, "USER_ROLE_READONLY": 4, } )
Enum value maps for UserRole.
var ( StatusHealth_name = map[int32]string{ 0: "STATUS_HEALTH_OK", 1: "STATUS_HEALTH_ERROR", 2: "STATUS_HEALTH_CONNECTING", 3: "STATUS_HEALTH_DISCONNECTING", } StatusHealth_value = map[string]int32{ "STATUS_HEALTH_OK": 0, "STATUS_HEALTH_ERROR": 1, "STATUS_HEALTH_CONNECTING": 2, "STATUS_HEALTH_DISCONNECTING": 3, } )
Enum value maps for StatusHealth.
var Console_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nakama.console.Console", HandlerType: (*ConsoleServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Authenticate", Handler: _Console_Authenticate_Handler, }, { MethodName: "AddUser", Handler: _Console_AddUser_Handler, }, { MethodName: "BanAccount", Handler: _Console_BanAccount_Handler, }, { MethodName: "CallApiEndpoint", Handler: _Console_CallApiEndpoint_Handler, }, { MethodName: "CallRpcEndpoint", Handler: _Console_CallRpcEndpoint_Handler, }, { MethodName: "DeleteAccount", Handler: _Console_DeleteAccount_Handler, }, { MethodName: "DeleteFriend", Handler: _Console_DeleteFriend_Handler, }, { MethodName: "DeleteGroupUser", Handler: _Console_DeleteGroupUser_Handler, }, { MethodName: "DeleteStorage", Handler: _Console_DeleteStorage_Handler, }, { MethodName: "DeleteStorageObject", Handler: _Console_DeleteStorageObject_Handler, }, { MethodName: "DeleteAccounts", Handler: _Console_DeleteAccounts_Handler, }, { MethodName: "DeleteLeaderboard", Handler: _Console_DeleteLeaderboard_Handler, }, { MethodName: "DeleteLeaderboardRecord", Handler: _Console_DeleteLeaderboardRecord_Handler, }, { MethodName: "DeleteUser", Handler: _Console_DeleteUser_Handler, }, { MethodName: "DeleteWalletLedger", Handler: _Console_DeleteWalletLedger_Handler, }, { MethodName: "ExportAccount", Handler: _Console_ExportAccount_Handler, }, { MethodName: "GetAccount", Handler: _Console_GetAccount_Handler, }, { MethodName: "GetConfig", Handler: _Console_GetConfig_Handler, }, { MethodName: "GetFriends", Handler: _Console_GetFriends_Handler, }, { MethodName: "GetGroups", Handler: _Console_GetGroups_Handler, }, { MethodName: "GetLeaderboard", Handler: _Console_GetLeaderboard_Handler, }, { MethodName: "GetMatchState", Handler: _Console_GetMatchState_Handler, }, { MethodName: "GetRuntime", Handler: _Console_GetRuntime_Handler, }, { MethodName: "GetStatus", Handler: _Console_GetStatus_Handler, }, { MethodName: "GetStorage", Handler: _Console_GetStorage_Handler, }, { MethodName: "GetWalletLedger", Handler: _Console_GetWalletLedger_Handler, }, { MethodName: "ListApiEndpoints", Handler: _Console_ListApiEndpoints_Handler, }, { MethodName: "ListLeaderboardRecords", Handler: _Console_ListLeaderboardRecords_Handler, }, { MethodName: "ListLeaderboards", Handler: _Console_ListLeaderboards_Handler, }, { MethodName: "ListStorage", Handler: _Console_ListStorage_Handler, }, { MethodName: "ListStorageCollections", Handler: _Console_ListStorageCollections_Handler, }, { MethodName: "ListAccounts", Handler: _Console_ListAccounts_Handler, }, { MethodName: "ListMatches", Handler: _Console_ListMatches_Handler, }, { MethodName: "ListPurchases", Handler: _Console_ListPurchases_Handler, }, { MethodName: "ListUsers", Handler: _Console_ListUsers_Handler, }, { MethodName: "UnbanAccount", Handler: _Console_UnbanAccount_Handler, }, { MethodName: "UnlinkCustom", Handler: _Console_UnlinkCustom_Handler, }, { MethodName: "UnlinkDevice", Handler: _Console_UnlinkDevice_Handler, }, { MethodName: "UnlinkEmail", Handler: _Console_UnlinkEmail_Handler, }, { MethodName: "UnlinkApple", Handler: _Console_UnlinkApple_Handler, }, { MethodName: "UnlinkFacebook", Handler: _Console_UnlinkFacebook_Handler, }, { MethodName: "UnlinkFacebookInstantGame", Handler: _Console_UnlinkFacebookInstantGame_Handler, }, { MethodName: "UnlinkGameCenter", Handler: _Console_UnlinkGameCenter_Handler, }, { MethodName: "UnlinkGoogle", Handler: _Console_UnlinkGoogle_Handler, }, { MethodName: "UnlinkSteam", Handler: _Console_UnlinkSteam_Handler, }, { MethodName: "UpdateAccount", Handler: _Console_UpdateAccount_Handler, }, { MethodName: "WriteStorageObject", Handler: _Console_WriteStorageObject_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "console.proto", }
Console_ServiceDesc is the grpc.ServiceDesc for Console service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_console_proto protoreflect.FileDescriptor
var UI = http.FileServer(http.FS(UIFS))
var UIFS = &uiFS{}
Functions ¶
func RegisterConsoleHandler ¶
func RegisterConsoleHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterConsoleHandler registers the http handlers for service Console to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterConsoleHandlerClient ¶
func RegisterConsoleHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ConsoleClient) error
RegisterConsoleHandlerClient registers the http handlers for service Console to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ConsoleClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ConsoleClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ConsoleClient" to call the correct interceptors.
func RegisterConsoleHandlerFromEndpoint ¶
func RegisterConsoleHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterConsoleHandlerFromEndpoint is same as RegisterConsoleHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterConsoleHandlerServer ¶
func RegisterConsoleHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ConsoleServer) error
RegisterConsoleHandlerServer registers the http handlers for service Console to "mux". UnaryRPC :call ConsoleServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterConsoleHandlerFromEndpoint instead.
func RegisterConsoleServer ¶
func RegisterConsoleServer(s grpc.ServiceRegistrar, srv ConsoleServer)
Types ¶
type Account ¶
type Account struct { // The user's account details. Account *api.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The UNIX time when the account was disabled. DisableTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=disable_time,json=disableTime,proto3" json:"disable_time,omitempty"` // contains filtered or unexported fields }
Account information.
func (*Account) Descriptor
deprecated
func (*Account) GetAccount ¶
func (*Account) GetDisableTime ¶
func (x *Account) GetDisableTime() *timestamppb.Timestamp
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountDeleteRequest ¶
type AccountDeleteRequest struct { // The unique identifier of the user account. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Record the user deletion - used for GDPR compliance. RecordDeletion *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=record_deletion,json=recordDeletion,proto3" json:"record_deletion,omitempty"` // contains filtered or unexported fields }
Delete a user account.
func (*AccountDeleteRequest) Descriptor
deprecated
func (*AccountDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountDeleteRequest.ProtoReflect.Descriptor instead.
func (*AccountDeleteRequest) GetId ¶
func (x *AccountDeleteRequest) GetId() string
func (*AccountDeleteRequest) GetRecordDeletion ¶
func (x *AccountDeleteRequest) GetRecordDeletion() *wrapperspb.BoolValue
func (*AccountDeleteRequest) ProtoMessage ¶
func (*AccountDeleteRequest) ProtoMessage()
func (*AccountDeleteRequest) ProtoReflect ¶
func (x *AccountDeleteRequest) ProtoReflect() protoreflect.Message
func (*AccountDeleteRequest) Reset ¶
func (x *AccountDeleteRequest) Reset()
func (*AccountDeleteRequest) String ¶
func (x *AccountDeleteRequest) String() string
type AccountExport ¶
type AccountExport struct { // The user's account details. Account *api.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The user's storage. Objects []*api.StorageObject `protobuf:"bytes,2,rep,name=objects,proto3" json:"objects,omitempty"` // The user's friends. Friends []*api.Friend `protobuf:"bytes,3,rep,name=friends,proto3" json:"friends,omitempty"` // The user's groups. Groups []*api.Group `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups,omitempty"` // The user's chat messages. Messages []*api.ChannelMessage `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"` // The user's leaderboard records. LeaderboardRecords []*api.LeaderboardRecord `protobuf:"bytes,6,rep,name=leaderboard_records,json=leaderboardRecords,proto3" json:"leaderboard_records,omitempty"` // The user's notifications. Notifications []*api.Notification `protobuf:"bytes,7,rep,name=notifications,proto3" json:"notifications,omitempty"` // The user's wallet ledger items. WalletLedgers []*WalletLedger `protobuf:"bytes,8,rep,name=wallet_ledgers,json=walletLedgers,proto3" json:"wallet_ledgers,omitempty"` // contains filtered or unexported fields }
An export of all information stored for a user account.
func (*AccountExport) Descriptor
deprecated
func (*AccountExport) Descriptor() ([]byte, []int)
Deprecated: Use AccountExport.ProtoReflect.Descriptor instead.
func (*AccountExport) GetAccount ¶
func (x *AccountExport) GetAccount() *api.Account
func (*AccountExport) GetFriends ¶
func (x *AccountExport) GetFriends() []*api.Friend
func (*AccountExport) GetGroups ¶
func (x *AccountExport) GetGroups() []*api.Group
func (*AccountExport) GetLeaderboardRecords ¶
func (x *AccountExport) GetLeaderboardRecords() []*api.LeaderboardRecord
func (*AccountExport) GetMessages ¶
func (x *AccountExport) GetMessages() []*api.ChannelMessage
func (*AccountExport) GetNotifications ¶
func (x *AccountExport) GetNotifications() []*api.Notification
func (*AccountExport) GetObjects ¶
func (x *AccountExport) GetObjects() []*api.StorageObject
func (*AccountExport) GetWalletLedgers ¶
func (x *AccountExport) GetWalletLedgers() []*WalletLedger
func (*AccountExport) ProtoMessage ¶
func (*AccountExport) ProtoMessage()
func (*AccountExport) ProtoReflect ¶
func (x *AccountExport) ProtoReflect() protoreflect.Message
func (*AccountExport) Reset ¶
func (x *AccountExport) Reset()
func (*AccountExport) String ¶
func (x *AccountExport) String() string
type AccountId ¶
type AccountId struct { // The unique identifier of the user account. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
The identifier for a user account.
func (*AccountId) Descriptor
deprecated
func (*AccountId) ProtoMessage ¶
func (*AccountId) ProtoMessage()
func (*AccountId) ProtoReflect ¶
func (x *AccountId) ProtoReflect() protoreflect.Message
type AccountList ¶
type AccountList struct { // A list of users. Users []*api.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // Approximate total number of users. TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // Next cursor. NextCursor string `protobuf:"bytes,3,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` // contains filtered or unexported fields }
A list of users.
func (*AccountList) Descriptor
deprecated
func (*AccountList) Descriptor() ([]byte, []int)
Deprecated: Use AccountList.ProtoReflect.Descriptor instead.
func (*AccountList) GetNextCursor ¶
func (x *AccountList) GetNextCursor() string
func (*AccountList) GetTotalCount ¶
func (x *AccountList) GetTotalCount() int32
func (*AccountList) GetUsers ¶
func (x *AccountList) GetUsers() []*api.User
func (*AccountList) ProtoMessage ¶
func (*AccountList) ProtoMessage()
func (*AccountList) ProtoReflect ¶
func (x *AccountList) ProtoReflect() protoreflect.Message
func (*AccountList) Reset ¶
func (x *AccountList) Reset()
func (*AccountList) String ¶
func (x *AccountList) String() string
type AddUserRequest ¶
type AddUserRequest struct { // The username of the user. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // The password of the user. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // Email address of the user. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // Role of this user; Role UserRole `protobuf:"varint,4,opt,name=role,proto3,enum=nakama.console.UserRole" json:"role,omitempty"` // Subscribe to newsletters NewsletterSubscription bool `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
Add a new console user
func (*AddUserRequest) Descriptor
deprecated
func (*AddUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUserRequest.ProtoReflect.Descriptor instead.
func (*AddUserRequest) GetEmail ¶
func (x *AddUserRequest) GetEmail() string
func (*AddUserRequest) GetNewsletterSubscription ¶ added in v3.1.2
func (x *AddUserRequest) GetNewsletterSubscription() bool
func (*AddUserRequest) GetPassword ¶
func (x *AddUserRequest) GetPassword() string
func (*AddUserRequest) GetRole ¶
func (x *AddUserRequest) GetRole() UserRole
func (*AddUserRequest) GetUsername ¶
func (x *AddUserRequest) GetUsername() string
func (*AddUserRequest) ProtoMessage ¶
func (*AddUserRequest) ProtoMessage()
func (*AddUserRequest) ProtoReflect ¶
func (x *AddUserRequest) ProtoReflect() protoreflect.Message
func (*AddUserRequest) Reset ¶
func (x *AddUserRequest) Reset()
func (*AddUserRequest) String ¶
func (x *AddUserRequest) String() string
type ApiEndpointDescriptor ¶
type ApiEndpointDescriptor struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` BodyTemplate string `protobuf:"bytes,2,opt,name=body_template,json=bodyTemplate,proto3" json:"body_template,omitempty"` // contains filtered or unexported fields }
API Explorer List of Endpoints response message
func (*ApiEndpointDescriptor) Descriptor
deprecated
func (*ApiEndpointDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use ApiEndpointDescriptor.ProtoReflect.Descriptor instead.
func (*ApiEndpointDescriptor) GetBodyTemplate ¶
func (x *ApiEndpointDescriptor) GetBodyTemplate() string
func (*ApiEndpointDescriptor) GetMethod ¶
func (x *ApiEndpointDescriptor) GetMethod() string
func (*ApiEndpointDescriptor) ProtoMessage ¶
func (*ApiEndpointDescriptor) ProtoMessage()
func (*ApiEndpointDescriptor) ProtoReflect ¶
func (x *ApiEndpointDescriptor) ProtoReflect() protoreflect.Message
func (*ApiEndpointDescriptor) Reset ¶
func (x *ApiEndpointDescriptor) Reset()
func (*ApiEndpointDescriptor) String ¶
func (x *ApiEndpointDescriptor) String() string
type ApiEndpointList ¶
type ApiEndpointList struct { Endpoints []*ApiEndpointDescriptor `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"` RpcEndpoints []*ApiEndpointDescriptor `protobuf:"bytes,2,rep,name=rpc_endpoints,json=rpcEndpoints,proto3" json:"rpc_endpoints,omitempty"` // contains filtered or unexported fields }
API Explorer List of Endpoints
func (*ApiEndpointList) Descriptor
deprecated
func (*ApiEndpointList) Descriptor() ([]byte, []int)
Deprecated: Use ApiEndpointList.ProtoReflect.Descriptor instead.
func (*ApiEndpointList) GetEndpoints ¶
func (x *ApiEndpointList) GetEndpoints() []*ApiEndpointDescriptor
func (*ApiEndpointList) GetRpcEndpoints ¶
func (x *ApiEndpointList) GetRpcEndpoints() []*ApiEndpointDescriptor
func (*ApiEndpointList) ProtoMessage ¶
func (*ApiEndpointList) ProtoMessage()
func (*ApiEndpointList) ProtoReflect ¶
func (x *ApiEndpointList) ProtoReflect() protoreflect.Message
func (*ApiEndpointList) Reset ¶
func (x *ApiEndpointList) Reset()
func (*ApiEndpointList) String ¶
func (x *ApiEndpointList) String() string
type AuthenticateRequest ¶
type AuthenticateRequest struct { // The username of the user. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // The password of the user. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
Authenticate a console user with username and password.
func (*AuthenticateRequest) Descriptor
deprecated
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateRequest) GetPassword ¶
func (x *AuthenticateRequest) GetPassword() string
func (*AuthenticateRequest) GetUsername ¶
func (x *AuthenticateRequest) GetUsername() string
func (*AuthenticateRequest) ProtoMessage ¶
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) ProtoReflect ¶
func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateRequest) Reset ¶
func (x *AuthenticateRequest) Reset()
func (*AuthenticateRequest) String ¶
func (x *AuthenticateRequest) String() string
type CallApiEndpointRequest ¶
type CallApiEndpointRequest struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
API Explorer request definition for CallApiEndpoint
func (*CallApiEndpointRequest) Descriptor
deprecated
func (*CallApiEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallApiEndpointRequest.ProtoReflect.Descriptor instead.
func (*CallApiEndpointRequest) GetBody ¶
func (x *CallApiEndpointRequest) GetBody() string
func (*CallApiEndpointRequest) GetMethod ¶
func (x *CallApiEndpointRequest) GetMethod() string
func (*CallApiEndpointRequest) GetUserId ¶
func (x *CallApiEndpointRequest) GetUserId() string
func (*CallApiEndpointRequest) ProtoMessage ¶
func (*CallApiEndpointRequest) ProtoMessage()
func (*CallApiEndpointRequest) ProtoReflect ¶
func (x *CallApiEndpointRequest) ProtoReflect() protoreflect.Message
func (*CallApiEndpointRequest) Reset ¶
func (x *CallApiEndpointRequest) Reset()
func (*CallApiEndpointRequest) String ¶
func (x *CallApiEndpointRequest) String() string
type CallApiEndpointResponse ¶
type CallApiEndpointResponse struct { Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
API Explorer response definition for CallApiEndpoint
func (*CallApiEndpointResponse) Descriptor
deprecated
func (*CallApiEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallApiEndpointResponse.ProtoReflect.Descriptor instead.
func (*CallApiEndpointResponse) GetBody ¶
func (x *CallApiEndpointResponse) GetBody() string
func (*CallApiEndpointResponse) GetErrorMessage ¶
func (x *CallApiEndpointResponse) GetErrorMessage() string
func (*CallApiEndpointResponse) ProtoMessage ¶
func (*CallApiEndpointResponse) ProtoMessage()
func (*CallApiEndpointResponse) ProtoReflect ¶
func (x *CallApiEndpointResponse) ProtoReflect() protoreflect.Message
func (*CallApiEndpointResponse) Reset ¶
func (x *CallApiEndpointResponse) Reset()
func (*CallApiEndpointResponse) String ¶
func (x *CallApiEndpointResponse) String() string
type Config ¶
type Config struct { // JSON-encoded active server configuration. Config string `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Any warnings about the current config. Warnings []*Config_Warning `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"` // Server version ServerVersion string `protobuf:"bytes,3,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` // contains filtered or unexported fields }
The current server configuration and any associated warnings.
func (*Config) Descriptor
deprecated
func (*Config) GetServerVersion ¶
func (*Config) GetWarnings ¶
func (x *Config) GetWarnings() []*Config_Warning
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Config_Warning ¶
type Config_Warning struct { // The config field this warning is for in a JSON pointer format. Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Warning message text. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
A warning for a configuration field.
func (*Config_Warning) Descriptor
deprecated
func (*Config_Warning) Descriptor() ([]byte, []int)
Deprecated: Use Config_Warning.ProtoReflect.Descriptor instead.
func (*Config_Warning) GetField ¶
func (x *Config_Warning) GetField() string
func (*Config_Warning) GetMessage ¶
func (x *Config_Warning) GetMessage() string
func (*Config_Warning) ProtoMessage ¶
func (*Config_Warning) ProtoMessage()
func (*Config_Warning) ProtoReflect ¶
func (x *Config_Warning) ProtoReflect() protoreflect.Message
func (*Config_Warning) Reset ¶
func (x *Config_Warning) Reset()
func (*Config_Warning) String ¶
func (x *Config_Warning) String() string
type ConsoleClient ¶
type ConsoleClient interface { // Authenticate a console user with username and password. Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*ConsoleSession, error) // Add a new console user. AddUser(ctx context.Context, in *AddUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Ban a user. BanAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error) // API Explorer - call an endpoint CallApiEndpoint(ctx context.Context, in *CallApiEndpointRequest, opts ...grpc.CallOption) (*CallApiEndpointResponse, error) // API Explorer - call a custom RPC endpoint CallRpcEndpoint(ctx context.Context, in *CallApiEndpointRequest, opts ...grpc.CallOption) (*CallApiEndpointResponse, error) // Delete all information stored for a user account. DeleteAccount(ctx context.Context, in *AccountDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete the friend relationship between two users. DeleteFriend(ctx context.Context, in *DeleteFriendRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Remove a user from a group. DeleteGroupUser(ctx context.Context, in *DeleteGroupUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete all storage data. DeleteStorage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete a storage object. DeleteStorageObject(ctx context.Context, in *DeleteStorageObjectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete (non-recorded) all user accounts. DeleteAccounts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete leaderboard DeleteLeaderboard(ctx context.Context, in *LeaderboardRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete leaderboard record DeleteLeaderboardRecord(ctx context.Context, in *DeleteLeaderboardRecordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete console user. DeleteUser(ctx context.Context, in *Username, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete a wallet ledger item. DeleteWalletLedger(ctx context.Context, in *DeleteWalletLedgerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Export all information stored about a user account. ExportAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*AccountExport, error) // Get detailed account information for a single user. GetAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*Account, error) // Get server config and configuration warnings. GetConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config, error) // Get a user's list of friend relationships. GetFriends(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*api.FriendList, error) // Get a list of groups the user is a member of. GetGroups(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*api.UserGroupList, error) // Get leaderboard. GetLeaderboard(ctx context.Context, in *LeaderboardRequest, opts ...grpc.CallOption) (*Leaderboard, error) // Get current state of a running match GetMatchState(ctx context.Context, in *MatchStateRequest, opts ...grpc.CallOption) (*MatchState, error) // Get runtime info GetRuntime(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RuntimeInfo, error) // Get current status data for all nodes. GetStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StatusList, error) // Get a storage object. GetStorage(ctx context.Context, in *api.ReadStorageObjectId, opts ...grpc.CallOption) (*api.StorageObject, error) // Get a list of the user's wallet transactions. GetWalletLedger(ctx context.Context, in *GetWalletLedgerRequest, opts ...grpc.CallOption) (*WalletLedgerList, error) // API Explorer - list all endpoints ListApiEndpoints(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ApiEndpointList, error) // List leaderboard records. ListLeaderboardRecords(ctx context.Context, in *api.ListLeaderboardRecordsRequest, opts ...grpc.CallOption) (*api.LeaderboardRecordList, error) // List leaderboards ListLeaderboards(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LeaderboardList, error) // List (and optionally filter) storage data. ListStorage(ctx context.Context, in *ListStorageRequest, opts ...grpc.CallOption) (*StorageList, error) //List storage collections ListStorageCollections(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StorageCollectionsList, error) // List (and optionally filter) accounts. ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*AccountList, error) // List ongoing matches ListMatches(ctx context.Context, in *api.ListMatchesRequest, opts ...grpc.CallOption) (*api.MatchList, error) // List validated purchases ListPurchases(ctx context.Context, in *ListPurchasesRequest, opts ...grpc.CallOption) (*api.PurchaseList, error) // List (and optionally filter) users. ListUsers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserList, error) // Unban a user. UnbanAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error) // Unlink the custom ID from a user account. UnlinkCustom(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error) // Unlink the device ID from a user account. UnlinkDevice(ctx context.Context, in *UnlinkDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Unlink the email from a user account. UnlinkEmail(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error) // Unlink the Apple ID from a user account. UnlinkApple(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error) // Unlink the Facebook ID from a user account. UnlinkFacebook(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error) // Unlink the Facebook Instant Game ID from a user account. UnlinkFacebookInstantGame(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error) // Unlink the Game Center ID from a user account. UnlinkGameCenter(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error) // Unlink the Google ID from a user account. UnlinkGoogle(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error) // Unlink the Steam ID from a user account. UnlinkSteam(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error) // Update one or more fields on a user account. UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Write a new storage object or replace an existing one. WriteStorageObject(ctx context.Context, in *WriteStorageObjectRequest, opts ...grpc.CallOption) (*api.StorageObjectAck, error) }
ConsoleClient is the client API for Console 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 NewConsoleClient ¶
func NewConsoleClient(cc grpc.ClientConnInterface) ConsoleClient
type ConsoleServer ¶
type ConsoleServer interface { // Authenticate a console user with username and password. Authenticate(context.Context, *AuthenticateRequest) (*ConsoleSession, error) // Add a new console user. AddUser(context.Context, *AddUserRequest) (*emptypb.Empty, error) // Ban a user. BanAccount(context.Context, *AccountId) (*emptypb.Empty, error) // API Explorer - call an endpoint CallApiEndpoint(context.Context, *CallApiEndpointRequest) (*CallApiEndpointResponse, error) // API Explorer - call a custom RPC endpoint CallRpcEndpoint(context.Context, *CallApiEndpointRequest) (*CallApiEndpointResponse, error) // Delete all information stored for a user account. DeleteAccount(context.Context, *AccountDeleteRequest) (*emptypb.Empty, error) // Delete the friend relationship between two users. DeleteFriend(context.Context, *DeleteFriendRequest) (*emptypb.Empty, error) // Remove a user from a group. DeleteGroupUser(context.Context, *DeleteGroupUserRequest) (*emptypb.Empty, error) // Delete all storage data. DeleteStorage(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // Delete a storage object. DeleteStorageObject(context.Context, *DeleteStorageObjectRequest) (*emptypb.Empty, error) // Delete (non-recorded) all user accounts. DeleteAccounts(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // Delete leaderboard DeleteLeaderboard(context.Context, *LeaderboardRequest) (*emptypb.Empty, error) // Delete leaderboard record DeleteLeaderboardRecord(context.Context, *DeleteLeaderboardRecordRequest) (*emptypb.Empty, error) // Delete console user. DeleteUser(context.Context, *Username) (*emptypb.Empty, error) // Delete a wallet ledger item. DeleteWalletLedger(context.Context, *DeleteWalletLedgerRequest) (*emptypb.Empty, error) // Export all information stored about a user account. ExportAccount(context.Context, *AccountId) (*AccountExport, error) // Get detailed account information for a single user. GetAccount(context.Context, *AccountId) (*Account, error) // Get server config and configuration warnings. GetConfig(context.Context, *emptypb.Empty) (*Config, error) // Get a user's list of friend relationships. GetFriends(context.Context, *AccountId) (*api.FriendList, error) // Get a list of groups the user is a member of. GetGroups(context.Context, *AccountId) (*api.UserGroupList, error) // Get leaderboard. GetLeaderboard(context.Context, *LeaderboardRequest) (*Leaderboard, error) // Get current state of a running match GetMatchState(context.Context, *MatchStateRequest) (*MatchState, error) // Get runtime info GetRuntime(context.Context, *emptypb.Empty) (*RuntimeInfo, error) // Get current status data for all nodes. GetStatus(context.Context, *emptypb.Empty) (*StatusList, error) // Get a storage object. GetStorage(context.Context, *api.ReadStorageObjectId) (*api.StorageObject, error) // Get a list of the user's wallet transactions. GetWalletLedger(context.Context, *GetWalletLedgerRequest) (*WalletLedgerList, error) // API Explorer - list all endpoints ListApiEndpoints(context.Context, *emptypb.Empty) (*ApiEndpointList, error) // List leaderboard records. ListLeaderboardRecords(context.Context, *api.ListLeaderboardRecordsRequest) (*api.LeaderboardRecordList, error) // List leaderboards ListLeaderboards(context.Context, *emptypb.Empty) (*LeaderboardList, error) // List (and optionally filter) storage data. ListStorage(context.Context, *ListStorageRequest) (*StorageList, error) //List storage collections ListStorageCollections(context.Context, *emptypb.Empty) (*StorageCollectionsList, error) // List (and optionally filter) accounts. ListAccounts(context.Context, *ListAccountsRequest) (*AccountList, error) // List ongoing matches ListMatches(context.Context, *api.ListMatchesRequest) (*api.MatchList, error) // List validated purchases ListPurchases(context.Context, *ListPurchasesRequest) (*api.PurchaseList, error) // List (and optionally filter) users. ListUsers(context.Context, *emptypb.Empty) (*UserList, error) // Unban a user. UnbanAccount(context.Context, *AccountId) (*emptypb.Empty, error) // Unlink the custom ID from a user account. UnlinkCustom(context.Context, *AccountId) (*emptypb.Empty, error) // Unlink the device ID from a user account. UnlinkDevice(context.Context, *UnlinkDeviceRequest) (*emptypb.Empty, error) // Unlink the email from a user account. UnlinkEmail(context.Context, *AccountId) (*emptypb.Empty, error) // Unlink the Apple ID from a user account. UnlinkApple(context.Context, *AccountId) (*emptypb.Empty, error) // Unlink the Facebook ID from a user account. UnlinkFacebook(context.Context, *AccountId) (*emptypb.Empty, error) // Unlink the Facebook Instant Game ID from a user account. UnlinkFacebookInstantGame(context.Context, *AccountId) (*emptypb.Empty, error) // Unlink the Game Center ID from a user account. UnlinkGameCenter(context.Context, *AccountId) (*emptypb.Empty, error) // Unlink the Google ID from a user account. UnlinkGoogle(context.Context, *AccountId) (*emptypb.Empty, error) // Unlink the Steam ID from a user account. UnlinkSteam(context.Context, *AccountId) (*emptypb.Empty, error) // Update one or more fields on a user account. UpdateAccount(context.Context, *UpdateAccountRequest) (*emptypb.Empty, error) // Write a new storage object or replace an existing one. WriteStorageObject(context.Context, *WriteStorageObjectRequest) (*api.StorageObjectAck, error) // contains filtered or unexported methods }
ConsoleServer is the server API for Console service. All implementations must embed UnimplementedConsoleServer for forward compatibility
type ConsoleSession ¶
type ConsoleSession struct { // A session token (JWT) for the console user. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
A console user session.
func (*ConsoleSession) Descriptor
deprecated
func (*ConsoleSession) Descriptor() ([]byte, []int)
Deprecated: Use ConsoleSession.ProtoReflect.Descriptor instead.
func (*ConsoleSession) GetToken ¶
func (x *ConsoleSession) GetToken() string
func (*ConsoleSession) ProtoMessage ¶
func (*ConsoleSession) ProtoMessage()
func (*ConsoleSession) ProtoReflect ¶
func (x *ConsoleSession) ProtoReflect() protoreflect.Message
func (*ConsoleSession) Reset ¶
func (x *ConsoleSession) Reset()
func (*ConsoleSession) String ¶
func (x *ConsoleSession) String() string
type DeleteFriendRequest ¶
type DeleteFriendRequest struct { // The user do delete for. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // User ID of the friend to remove. FriendId string `protobuf:"bytes,2,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // contains filtered or unexported fields }
Delete friend relationship between two users.
func (*DeleteFriendRequest) Descriptor
deprecated
func (*DeleteFriendRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFriendRequest.ProtoReflect.Descriptor instead.
func (*DeleteFriendRequest) GetFriendId ¶
func (x *DeleteFriendRequest) GetFriendId() string
func (*DeleteFriendRequest) GetId ¶
func (x *DeleteFriendRequest) GetId() string
func (*DeleteFriendRequest) ProtoMessage ¶
func (*DeleteFriendRequest) ProtoMessage()
func (*DeleteFriendRequest) ProtoReflect ¶
func (x *DeleteFriendRequest) ProtoReflect() protoreflect.Message
func (*DeleteFriendRequest) Reset ¶
func (x *DeleteFriendRequest) Reset()
func (*DeleteFriendRequest) String ¶
func (x *DeleteFriendRequest) String() string
type DeleteGroupUserRequest ¶
type DeleteGroupUserRequest struct { // User to remove. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the group to remove them from. GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
Remove a user from a group.
func (*DeleteGroupUserRequest) Descriptor
deprecated
func (*DeleteGroupUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteGroupUserRequest) GetGroupId ¶
func (x *DeleteGroupUserRequest) GetGroupId() string
func (*DeleteGroupUserRequest) GetId ¶
func (x *DeleteGroupUserRequest) GetId() string
func (*DeleteGroupUserRequest) ProtoMessage ¶
func (*DeleteGroupUserRequest) ProtoMessage()
func (*DeleteGroupUserRequest) ProtoReflect ¶
func (x *DeleteGroupUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteGroupUserRequest) Reset ¶
func (x *DeleteGroupUserRequest) Reset()
func (*DeleteGroupUserRequest) String ¶
func (x *DeleteGroupUserRequest) String() string
type DeleteLeaderboardRecordRequest ¶
type DeleteLeaderboardRecordRequest struct { // Leaderboard ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Record owner. OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // contains filtered or unexported fields }
Remove a leaderboard record
func (*DeleteLeaderboardRecordRequest) Descriptor
deprecated
func (*DeleteLeaderboardRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLeaderboardRecordRequest.ProtoReflect.Descriptor instead.
func (*DeleteLeaderboardRecordRequest) GetId ¶
func (x *DeleteLeaderboardRecordRequest) GetId() string
func (*DeleteLeaderboardRecordRequest) GetOwnerId ¶
func (x *DeleteLeaderboardRecordRequest) GetOwnerId() string
func (*DeleteLeaderboardRecordRequest) ProtoMessage ¶
func (*DeleteLeaderboardRecordRequest) ProtoMessage()
func (*DeleteLeaderboardRecordRequest) ProtoReflect ¶
func (x *DeleteLeaderboardRecordRequest) ProtoReflect() protoreflect.Message
func (*DeleteLeaderboardRecordRequest) Reset ¶
func (x *DeleteLeaderboardRecordRequest) Reset()
func (*DeleteLeaderboardRecordRequest) String ¶
func (x *DeleteLeaderboardRecordRequest) String() string
type DeleteStorageObjectRequest ¶
type DeleteStorageObjectRequest struct { // Collection. Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // Key. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Owner user ID. UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Version for OCC. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Delete an individual storage object.
func (*DeleteStorageObjectRequest) Descriptor
deprecated
func (*DeleteStorageObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStorageObjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteStorageObjectRequest) GetCollection ¶
func (x *DeleteStorageObjectRequest) GetCollection() string
func (*DeleteStorageObjectRequest) GetKey ¶
func (x *DeleteStorageObjectRequest) GetKey() string
func (*DeleteStorageObjectRequest) GetUserId ¶
func (x *DeleteStorageObjectRequest) GetUserId() string
func (*DeleteStorageObjectRequest) GetVersion ¶
func (x *DeleteStorageObjectRequest) GetVersion() string
func (*DeleteStorageObjectRequest) ProtoMessage ¶
func (*DeleteStorageObjectRequest) ProtoMessage()
func (*DeleteStorageObjectRequest) ProtoReflect ¶
func (x *DeleteStorageObjectRequest) ProtoReflect() protoreflect.Message
func (*DeleteStorageObjectRequest) Reset ¶
func (x *DeleteStorageObjectRequest) Reset()
func (*DeleteStorageObjectRequest) String ¶
func (x *DeleteStorageObjectRequest) String() string
type DeleteWalletLedgerRequest ¶
type DeleteWalletLedgerRequest struct { // User ID to remove wallet ledger item from. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the wallet ledger item to remove. WalletId string `protobuf:"bytes,2,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` // contains filtered or unexported fields }
Delete a single wallet ledger item.
func (*DeleteWalletLedgerRequest) Descriptor
deprecated
func (*DeleteWalletLedgerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWalletLedgerRequest.ProtoReflect.Descriptor instead.
func (*DeleteWalletLedgerRequest) GetId ¶
func (x *DeleteWalletLedgerRequest) GetId() string
func (*DeleteWalletLedgerRequest) GetWalletId ¶
func (x *DeleteWalletLedgerRequest) GetWalletId() string
func (*DeleteWalletLedgerRequest) ProtoMessage ¶
func (*DeleteWalletLedgerRequest) ProtoMessage()
func (*DeleteWalletLedgerRequest) ProtoReflect ¶
func (x *DeleteWalletLedgerRequest) ProtoReflect() protoreflect.Message
func (*DeleteWalletLedgerRequest) Reset ¶
func (x *DeleteWalletLedgerRequest) Reset()
func (*DeleteWalletLedgerRequest) String ¶
func (x *DeleteWalletLedgerRequest) String() string
type GetWalletLedgerRequest ¶ added in v3.9.0
type GetWalletLedgerRequest struct { // The unique identifier of the user account. AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Max number of results per page Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // Cursor to retrieve a page of records from Cursor string `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*GetWalletLedgerRequest) Descriptor
deprecated
added in
v3.9.0
func (*GetWalletLedgerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWalletLedgerRequest.ProtoReflect.Descriptor instead.
func (*GetWalletLedgerRequest) GetAccountId ¶ added in v3.9.0
func (x *GetWalletLedgerRequest) GetAccountId() string
func (*GetWalletLedgerRequest) GetCursor ¶ added in v3.9.0
func (x *GetWalletLedgerRequest) GetCursor() string
func (*GetWalletLedgerRequest) GetLimit ¶ added in v3.9.0
func (x *GetWalletLedgerRequest) GetLimit() uint32
func (*GetWalletLedgerRequest) ProtoMessage ¶ added in v3.9.0
func (*GetWalletLedgerRequest) ProtoMessage()
func (*GetWalletLedgerRequest) ProtoReflect ¶ added in v3.9.0
func (x *GetWalletLedgerRequest) ProtoReflect() protoreflect.Message
func (*GetWalletLedgerRequest) Reset ¶ added in v3.9.0
func (x *GetWalletLedgerRequest) Reset()
func (*GetWalletLedgerRequest) String ¶ added in v3.9.0
func (x *GetWalletLedgerRequest) String() string
type Leaderboard ¶
type Leaderboard struct { // The ID of the leaderboard. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The title for the leaderboard. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // The description of the leaderboard. May be blank. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The category of the leaderboard. e.g. "vip" could be category 1. Category uint32 `protobuf:"varint,4,opt,name=category,proto3" json:"category,omitempty"` // ASC or DESC sort mode of scores in the leaderboard. SortOrder uint32 `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"` // The current number of players in the leaderboard. Size uint32 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` // The maximum number of players for the leaderboard. MaxSize uint32 `protobuf:"varint,7,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` // The maximum score updates allowed per player for the current leaderboard. MaxNumScore uint32 `protobuf:"varint,8,opt,name=max_num_score,json=maxNumScore,proto3" json:"max_num_score,omitempty"` // The operator of the leaderboard Operator uint32 `protobuf:"varint,9,opt,name=operator,proto3" json:"operator,omitempty"` // The UNIX time when the leaderboard stops being active until next reset. A computed value. EndActive uint32 `protobuf:"varint,10,opt,name=end_active,json=endActive,proto3" json:"end_active,omitempty"` // Reset cron expression. ResetSchedule string `protobuf:"bytes,11,opt,name=reset_schedule,json=resetSchedule,proto3" json:"reset_schedule,omitempty"` // Additional information stored as a JSON object. Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"` // The UNIX time when the leaderboard was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time when the leaderboard will start. StartTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The UNIX time when the leaderboard will be stopped. EndTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Duration of the tournament in seconds. Duration uint32 `protobuf:"varint,16,opt,name=duration,proto3" json:"duration,omitempty"` // The UNIX time when the leaderboard start being active. A computed value. StartActive uint32 `protobuf:"varint,17,opt,name=start_active,json=startActive,proto3" json:"start_active,omitempty"` // Join required. JoinRequired bool `protobuf:"varint,18,opt,name=join_required,json=joinRequired,proto3" json:"join_required,omitempty"` // Authoritative. Authoritative bool `protobuf:"varint,19,opt,name=authoritative,proto3" json:"authoritative,omitempty"` // Tournament. Tournament bool `protobuf:"varint,20,opt,name=tournament,proto3" json:"tournament,omitempty"` // contains filtered or unexported fields }
A leaderboard.
func (*Leaderboard) Descriptor
deprecated
func (*Leaderboard) Descriptor() ([]byte, []int)
Deprecated: Use Leaderboard.ProtoReflect.Descriptor instead.
func (*Leaderboard) GetAuthoritative ¶
func (x *Leaderboard) GetAuthoritative() bool
func (*Leaderboard) GetCategory ¶
func (x *Leaderboard) GetCategory() uint32
func (*Leaderboard) GetCreateTime ¶
func (x *Leaderboard) GetCreateTime() *timestamppb.Timestamp
func (*Leaderboard) GetDescription ¶
func (x *Leaderboard) GetDescription() string
func (*Leaderboard) GetDuration ¶
func (x *Leaderboard) GetDuration() uint32
func (*Leaderboard) GetEndActive ¶
func (x *Leaderboard) GetEndActive() uint32
func (*Leaderboard) GetEndTime ¶
func (x *Leaderboard) GetEndTime() *timestamppb.Timestamp
func (*Leaderboard) GetId ¶
func (x *Leaderboard) GetId() string
func (*Leaderboard) GetJoinRequired ¶
func (x *Leaderboard) GetJoinRequired() bool
func (*Leaderboard) GetMaxNumScore ¶
func (x *Leaderboard) GetMaxNumScore() uint32
func (*Leaderboard) GetMaxSize ¶
func (x *Leaderboard) GetMaxSize() uint32
func (*Leaderboard) GetMetadata ¶
func (x *Leaderboard) GetMetadata() string
func (*Leaderboard) GetOperator ¶
func (x *Leaderboard) GetOperator() uint32
func (*Leaderboard) GetResetSchedule ¶
func (x *Leaderboard) GetResetSchedule() string
func (*Leaderboard) GetSize ¶
func (x *Leaderboard) GetSize() uint32
func (*Leaderboard) GetSortOrder ¶
func (x *Leaderboard) GetSortOrder() uint32
func (*Leaderboard) GetStartActive ¶
func (x *Leaderboard) GetStartActive() uint32
func (*Leaderboard) GetStartTime ¶
func (x *Leaderboard) GetStartTime() *timestamppb.Timestamp
func (*Leaderboard) GetTitle ¶
func (x *Leaderboard) GetTitle() string
func (*Leaderboard) GetTournament ¶
func (x *Leaderboard) GetTournament() bool
func (*Leaderboard) ProtoMessage ¶
func (*Leaderboard) ProtoMessage()
func (*Leaderboard) ProtoReflect ¶
func (x *Leaderboard) ProtoReflect() protoreflect.Message
func (*Leaderboard) Reset ¶
func (x *Leaderboard) Reset()
func (*Leaderboard) String ¶
func (x *Leaderboard) String() string
type LeaderboardList ¶
type LeaderboardList struct { // The list of leaderboards returned. Leaderboards []*Leaderboard `protobuf:"bytes,1,rep,name=leaderboards,proto3" json:"leaderboards,omitempty"` // contains filtered or unexported fields }
A list of leaderboards.
func (*LeaderboardList) Descriptor
deprecated
func (*LeaderboardList) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardList.ProtoReflect.Descriptor instead.
func (*LeaderboardList) GetLeaderboards ¶
func (x *LeaderboardList) GetLeaderboards() []*Leaderboard
func (*LeaderboardList) ProtoMessage ¶
func (*LeaderboardList) ProtoMessage()
func (*LeaderboardList) ProtoReflect ¶
func (x *LeaderboardList) ProtoReflect() protoreflect.Message
func (*LeaderboardList) Reset ¶
func (x *LeaderboardList) Reset()
func (*LeaderboardList) String ¶
func (x *LeaderboardList) String() string
type LeaderboardRequest ¶
type LeaderboardRequest struct { // Leaderboard ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Get Leaderboard.
func (*LeaderboardRequest) Descriptor
deprecated
func (*LeaderboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaderboardRequest.ProtoReflect.Descriptor instead.
func (*LeaderboardRequest) GetId ¶
func (x *LeaderboardRequest) GetId() string
func (*LeaderboardRequest) ProtoMessage ¶
func (*LeaderboardRequest) ProtoMessage()
func (*LeaderboardRequest) ProtoReflect ¶
func (x *LeaderboardRequest) ProtoReflect() protoreflect.Message
func (*LeaderboardRequest) Reset ¶
func (x *LeaderboardRequest) Reset()
func (*LeaderboardRequest) String ¶
func (x *LeaderboardRequest) String() string
type ListAccountsRequest ¶
type ListAccountsRequest struct { // User ID or username filter. Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // Search only recorded deletes. Tombstones bool `protobuf:"varint,2,opt,name=tombstones,proto3" json:"tombstones,omitempty"` // Cursor to start from Cursor string `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List (and optionally filter) users.
func (*ListAccountsRequest) Descriptor
deprecated
func (*ListAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListAccountsRequest) GetCursor ¶
func (x *ListAccountsRequest) GetCursor() string
func (*ListAccountsRequest) GetFilter ¶
func (x *ListAccountsRequest) GetFilter() string
func (*ListAccountsRequest) GetTombstones ¶
func (x *ListAccountsRequest) GetTombstones() bool
func (*ListAccountsRequest) ProtoMessage ¶
func (*ListAccountsRequest) ProtoMessage()
func (*ListAccountsRequest) ProtoReflect ¶
func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
func (*ListAccountsRequest) Reset ¶
func (x *ListAccountsRequest) Reset()
func (*ListAccountsRequest) String ¶
func (x *ListAccountsRequest) String() string
type ListPurchasesRequest ¶ added in v3.2.0
type ListPurchasesRequest struct { // User ID to filter purchases for UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Max number of results per page Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // Cursor to retrieve a page of records from Cursor string `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List validated purchases.
func (*ListPurchasesRequest) Descriptor
deprecated
added in
v3.2.0
func (*ListPurchasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPurchasesRequest.ProtoReflect.Descriptor instead.
func (*ListPurchasesRequest) GetCursor ¶ added in v3.2.0
func (x *ListPurchasesRequest) GetCursor() string
func (*ListPurchasesRequest) GetLimit ¶ added in v3.2.0
func (x *ListPurchasesRequest) GetLimit() uint32
func (*ListPurchasesRequest) GetUserId ¶ added in v3.2.0
func (x *ListPurchasesRequest) GetUserId() string
func (*ListPurchasesRequest) ProtoMessage ¶ added in v3.2.0
func (*ListPurchasesRequest) ProtoMessage()
func (*ListPurchasesRequest) ProtoReflect ¶ added in v3.2.0
func (x *ListPurchasesRequest) ProtoReflect() protoreflect.Message
func (*ListPurchasesRequest) Reset ¶ added in v3.2.0
func (x *ListPurchasesRequest) Reset()
func (*ListPurchasesRequest) String ¶ added in v3.2.0
func (x *ListPurchasesRequest) String() string
type ListStorageRequest ¶
type ListStorageRequest struct { // User ID to filter objects for. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Key to filter objects for Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Collection name to filter objects for Collection string `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"` // Cursor to retrieve a page of records from Cursor string `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
List (and optionally filter) storage objects.
func (*ListStorageRequest) Descriptor
deprecated
func (*ListStorageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStorageRequest.ProtoReflect.Descriptor instead.
func (*ListStorageRequest) GetCollection ¶
func (x *ListStorageRequest) GetCollection() string
func (*ListStorageRequest) GetCursor ¶
func (x *ListStorageRequest) GetCursor() string
func (*ListStorageRequest) GetKey ¶
func (x *ListStorageRequest) GetKey() string
func (*ListStorageRequest) GetUserId ¶
func (x *ListStorageRequest) GetUserId() string
func (*ListStorageRequest) ProtoMessage ¶
func (*ListStorageRequest) ProtoMessage()
func (*ListStorageRequest) ProtoReflect ¶
func (x *ListStorageRequest) ProtoReflect() protoreflect.Message
func (*ListStorageRequest) Reset ¶
func (x *ListStorageRequest) Reset()
func (*ListStorageRequest) String ¶
func (x *ListStorageRequest) String() string
type MatchState ¶
type MatchState struct { // Presence list. Presences []*rtapi.UserPresence `protobuf:"bytes,1,rep,name=presences,proto3" json:"presences,omitempty"` // Current tick number. Tick int64 `protobuf:"varint,2,opt,name=tick,proto3" json:"tick,omitempty"` // State. State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
Match state
func (*MatchState) Descriptor
deprecated
func (*MatchState) Descriptor() ([]byte, []int)
Deprecated: Use MatchState.ProtoReflect.Descriptor instead.
func (*MatchState) GetPresences ¶
func (x *MatchState) GetPresences() []*rtapi.UserPresence
func (*MatchState) GetState ¶
func (x *MatchState) GetState() string
func (*MatchState) GetTick ¶
func (x *MatchState) GetTick() int64
func (*MatchState) ProtoMessage ¶
func (*MatchState) ProtoMessage()
func (*MatchState) ProtoReflect ¶
func (x *MatchState) ProtoReflect() protoreflect.Message
func (*MatchState) Reset ¶
func (x *MatchState) Reset()
func (*MatchState) String ¶
func (x *MatchState) String() string
type MatchStateRequest ¶
type MatchStateRequest struct { // Match ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Get current state of a running match
func (*MatchStateRequest) Descriptor
deprecated
func (*MatchStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use MatchStateRequest.ProtoReflect.Descriptor instead.
func (*MatchStateRequest) GetId ¶
func (x *MatchStateRequest) GetId() string
func (*MatchStateRequest) ProtoMessage ¶
func (*MatchStateRequest) ProtoMessage()
func (*MatchStateRequest) ProtoReflect ¶
func (x *MatchStateRequest) ProtoReflect() protoreflect.Message
func (*MatchStateRequest) Reset ¶
func (x *MatchStateRequest) Reset()
func (*MatchStateRequest) String ¶
func (x *MatchStateRequest) String() string
type RuntimeInfo ¶
type RuntimeInfo struct { // Lua registered RPC functions LuaRpcFunctions []string `protobuf:"bytes,1,rep,name=lua_rpc_functions,json=luaRpcFunctions,proto3" json:"lua_rpc_functions,omitempty"` // Go registered RPC functions GoRpcFunctions []string `protobuf:"bytes,2,rep,name=go_rpc_functions,json=goRpcFunctions,proto3" json:"go_rpc_functions,omitempty"` // JavaScript registered RPC functions JsRpcFunctions []string `protobuf:"bytes,3,rep,name=js_rpc_functions,json=jsRpcFunctions,proto3" json:"js_rpc_functions,omitempty"` // Go loaded modules GoModules []*RuntimeInfo_ModuleInfo `protobuf:"bytes,4,rep,name=go_modules,json=goModules,proto3" json:"go_modules,omitempty"` // Lua loaded modules LuaModules []*RuntimeInfo_ModuleInfo `protobuf:"bytes,5,rep,name=lua_modules,json=luaModules,proto3" json:"lua_modules,omitempty"` // JavaScript loaded modules JsModules []*RuntimeInfo_ModuleInfo `protobuf:"bytes,6,rep,name=js_modules,json=jsModules,proto3" json:"js_modules,omitempty"` // contains filtered or unexported fields }
Runtime information
func (*RuntimeInfo) Descriptor
deprecated
func (*RuntimeInfo) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeInfo.ProtoReflect.Descriptor instead.
func (*RuntimeInfo) GetGoModules ¶
func (x *RuntimeInfo) GetGoModules() []*RuntimeInfo_ModuleInfo
func (*RuntimeInfo) GetGoRpcFunctions ¶
func (x *RuntimeInfo) GetGoRpcFunctions() []string
func (*RuntimeInfo) GetJsModules ¶
func (x *RuntimeInfo) GetJsModules() []*RuntimeInfo_ModuleInfo
func (*RuntimeInfo) GetJsRpcFunctions ¶
func (x *RuntimeInfo) GetJsRpcFunctions() []string
func (*RuntimeInfo) GetLuaModules ¶
func (x *RuntimeInfo) GetLuaModules() []*RuntimeInfo_ModuleInfo
func (*RuntimeInfo) GetLuaRpcFunctions ¶
func (x *RuntimeInfo) GetLuaRpcFunctions() []string
func (*RuntimeInfo) ProtoMessage ¶
func (*RuntimeInfo) ProtoMessage()
func (*RuntimeInfo) ProtoReflect ¶
func (x *RuntimeInfo) ProtoReflect() protoreflect.Message
func (*RuntimeInfo) Reset ¶
func (x *RuntimeInfo) Reset()
func (*RuntimeInfo) String ¶
func (x *RuntimeInfo) String() string
type RuntimeInfo_ModuleInfo ¶
type RuntimeInfo_ModuleInfo struct { // Module path Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Module last modified date ModTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=mod_time,json=modTime,proto3" json:"mod_time,omitempty"` // contains filtered or unexported fields }
Module information
func (*RuntimeInfo_ModuleInfo) Descriptor
deprecated
func (*RuntimeInfo_ModuleInfo) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeInfo_ModuleInfo.ProtoReflect.Descriptor instead.
func (*RuntimeInfo_ModuleInfo) GetModTime ¶
func (x *RuntimeInfo_ModuleInfo) GetModTime() *timestamppb.Timestamp
func (*RuntimeInfo_ModuleInfo) GetPath ¶
func (x *RuntimeInfo_ModuleInfo) GetPath() string
func (*RuntimeInfo_ModuleInfo) ProtoMessage ¶
func (*RuntimeInfo_ModuleInfo) ProtoMessage()
func (*RuntimeInfo_ModuleInfo) ProtoReflect ¶
func (x *RuntimeInfo_ModuleInfo) ProtoReflect() protoreflect.Message
func (*RuntimeInfo_ModuleInfo) Reset ¶
func (x *RuntimeInfo_ModuleInfo) Reset()
func (*RuntimeInfo_ModuleInfo) String ¶
func (x *RuntimeInfo_ModuleInfo) String() string
type StatusHealth ¶ added in v3.7.0
type StatusHealth int32
const ( StatusHealth_STATUS_HEALTH_OK StatusHealth = 0 StatusHealth_STATUS_HEALTH_ERROR StatusHealth = 1 StatusHealth_STATUS_HEALTH_CONNECTING StatusHealth = 2 StatusHealth_STATUS_HEALTH_DISCONNECTING StatusHealth = 3 )
func (StatusHealth) Descriptor ¶ added in v3.7.0
func (StatusHealth) Descriptor() protoreflect.EnumDescriptor
func (StatusHealth) Enum ¶ added in v3.7.0
func (x StatusHealth) Enum() *StatusHealth
func (StatusHealth) EnumDescriptor
deprecated
added in
v3.7.0
func (StatusHealth) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatusHealth.Descriptor instead.
func (StatusHealth) Number ¶ added in v3.7.0
func (x StatusHealth) Number() protoreflect.EnumNumber
func (StatusHealth) String ¶ added in v3.7.0
func (x StatusHealth) String() string
func (StatusHealth) Type ¶ added in v3.7.0
func (StatusHealth) Type() protoreflect.EnumType
type StatusList ¶
type StatusList struct { // List of nodes and their stats. Nodes []*StatusList_Status `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // Timestamp Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
List of nodes and their stats.
func (*StatusList) Descriptor
deprecated
func (*StatusList) Descriptor() ([]byte, []int)
Deprecated: Use StatusList.ProtoReflect.Descriptor instead.
func (*StatusList) GetNodes ¶
func (x *StatusList) GetNodes() []*StatusList_Status
func (*StatusList) GetTimestamp ¶
func (x *StatusList) GetTimestamp() *timestamppb.Timestamp
func (*StatusList) ProtoMessage ¶
func (*StatusList) ProtoMessage()
func (*StatusList) ProtoReflect ¶
func (x *StatusList) ProtoReflect() protoreflect.Message
func (*StatusList) Reset ¶
func (x *StatusList) Reset()
func (*StatusList) String ¶
func (x *StatusList) String() string
type StatusList_Status ¶
type StatusList_Status struct { // Node name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Health score. Health StatusHealth `protobuf:"varint,2,opt,name=health,proto3,enum=nakama.console.StatusHealth" json:"health,omitempty"` // Currently connected sessions. SessionCount int32 `protobuf:"varint,3,opt,name=session_count,json=sessionCount,proto3" json:"session_count,omitempty"` // Currently registered live presences. PresenceCount int32 `protobuf:"varint,4,opt,name=presence_count,json=presenceCount,proto3" json:"presence_count,omitempty"` // Current number of active authoritative matches. MatchCount int32 `protobuf:"varint,5,opt,name=match_count,json=matchCount,proto3" json:"match_count,omitempty"` // Current number of running goroutines. GoroutineCount int32 `protobuf:"varint,6,opt,name=goroutine_count,json=goroutineCount,proto3" json:"goroutine_count,omitempty"` // Average response latency in milliseconds. AvgLatencyMs float64 `protobuf:"fixed64,7,opt,name=avg_latency_ms,json=avgLatencyMs,proto3" json:"avg_latency_ms,omitempty"` // Average number of requests per second. AvgRateSec float64 `protobuf:"fixed64,8,opt,name=avg_rate_sec,json=avgRateSec,proto3" json:"avg_rate_sec,omitempty"` // Average input bandwidth usage. AvgInputKbs float64 `protobuf:"fixed64,9,opt,name=avg_input_kbs,json=avgInputKbs,proto3" json:"avg_input_kbs,omitempty"` // Average output bandwidth usage. AvgOutputKbs float64 `protobuf:"fixed64,10,opt,name=avg_output_kbs,json=avgOutputKbs,proto3" json:"avg_output_kbs,omitempty"` // contains filtered or unexported fields }
The status of a Nakama node.
func (*StatusList_Status) Descriptor
deprecated
func (*StatusList_Status) Descriptor() ([]byte, []int)
Deprecated: Use StatusList_Status.ProtoReflect.Descriptor instead.
func (*StatusList_Status) GetAvgInputKbs ¶
func (x *StatusList_Status) GetAvgInputKbs() float64
func (*StatusList_Status) GetAvgLatencyMs ¶
func (x *StatusList_Status) GetAvgLatencyMs() float64
func (*StatusList_Status) GetAvgOutputKbs ¶
func (x *StatusList_Status) GetAvgOutputKbs() float64
func (*StatusList_Status) GetAvgRateSec ¶
func (x *StatusList_Status) GetAvgRateSec() float64
func (*StatusList_Status) GetGoroutineCount ¶
func (x *StatusList_Status) GetGoroutineCount() int32
func (*StatusList_Status) GetHealth ¶
func (x *StatusList_Status) GetHealth() StatusHealth
func (*StatusList_Status) GetMatchCount ¶
func (x *StatusList_Status) GetMatchCount() int32
func (*StatusList_Status) GetName ¶
func (x *StatusList_Status) GetName() string
func (*StatusList_Status) GetPresenceCount ¶
func (x *StatusList_Status) GetPresenceCount() int32
func (*StatusList_Status) GetSessionCount ¶
func (x *StatusList_Status) GetSessionCount() int32
func (*StatusList_Status) ProtoMessage ¶
func (*StatusList_Status) ProtoMessage()
func (*StatusList_Status) ProtoReflect ¶
func (x *StatusList_Status) ProtoReflect() protoreflect.Message
func (*StatusList_Status) Reset ¶
func (x *StatusList_Status) Reset()
func (*StatusList_Status) String ¶
func (x *StatusList_Status) String() string
type StorageCollectionsList ¶
type StorageCollectionsList struct { // Available collection names in the whole of the storage Collections []string `protobuf:"bytes,3,rep,name=collections,proto3" json:"collections,omitempty"` // contains filtered or unexported fields }
func (*StorageCollectionsList) Descriptor
deprecated
func (*StorageCollectionsList) Descriptor() ([]byte, []int)
Deprecated: Use StorageCollectionsList.ProtoReflect.Descriptor instead.
func (*StorageCollectionsList) GetCollections ¶
func (x *StorageCollectionsList) GetCollections() []string
func (*StorageCollectionsList) ProtoMessage ¶
func (*StorageCollectionsList) ProtoMessage()
func (*StorageCollectionsList) ProtoReflect ¶
func (x *StorageCollectionsList) ProtoReflect() protoreflect.Message
func (*StorageCollectionsList) Reset ¶
func (x *StorageCollectionsList) Reset()
func (*StorageCollectionsList) String ¶
func (x *StorageCollectionsList) String() string
type StorageList ¶
type StorageList struct { // List of storage objects matching list/filter operation. Objects []*api.StorageObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // Approximate total number of storage objects. TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // Next page cursor if any NextCursor string `protobuf:"bytes,3,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` // contains filtered or unexported fields }
List of storage objects.
func (*StorageList) Descriptor
deprecated
func (*StorageList) Descriptor() ([]byte, []int)
Deprecated: Use StorageList.ProtoReflect.Descriptor instead.
func (*StorageList) GetNextCursor ¶
func (x *StorageList) GetNextCursor() string
func (*StorageList) GetObjects ¶
func (x *StorageList) GetObjects() []*api.StorageObject
func (*StorageList) GetTotalCount ¶
func (x *StorageList) GetTotalCount() int32
func (*StorageList) ProtoMessage ¶
func (*StorageList) ProtoMessage()
func (*StorageList) ProtoReflect ¶
func (x *StorageList) ProtoReflect() protoreflect.Message
func (*StorageList) Reset ¶
func (x *StorageList) Reset()
func (*StorageList) String ¶
func (x *StorageList) String() string
type UnimplementedConsoleServer ¶
type UnimplementedConsoleServer struct { }
UnimplementedConsoleServer must be embedded to have forward compatible implementations.
func (UnimplementedConsoleServer) AddUser ¶
func (UnimplementedConsoleServer) AddUser(context.Context, *AddUserRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) Authenticate ¶
func (UnimplementedConsoleServer) Authenticate(context.Context, *AuthenticateRequest) (*ConsoleSession, error)
func (UnimplementedConsoleServer) BanAccount ¶
func (UnimplementedConsoleServer) CallApiEndpoint ¶
func (UnimplementedConsoleServer) CallApiEndpoint(context.Context, *CallApiEndpointRequest) (*CallApiEndpointResponse, error)
func (UnimplementedConsoleServer) CallRpcEndpoint ¶
func (UnimplementedConsoleServer) CallRpcEndpoint(context.Context, *CallApiEndpointRequest) (*CallApiEndpointResponse, error)
func (UnimplementedConsoleServer) DeleteAccount ¶
func (UnimplementedConsoleServer) DeleteAccount(context.Context, *AccountDeleteRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) DeleteAccounts ¶
func (UnimplementedConsoleServer) DeleteFriend ¶
func (UnimplementedConsoleServer) DeleteFriend(context.Context, *DeleteFriendRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) DeleteGroupUser ¶
func (UnimplementedConsoleServer) DeleteGroupUser(context.Context, *DeleteGroupUserRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) DeleteLeaderboard ¶
func (UnimplementedConsoleServer) DeleteLeaderboard(context.Context, *LeaderboardRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) DeleteLeaderboardRecord ¶
func (UnimplementedConsoleServer) DeleteLeaderboardRecord(context.Context, *DeleteLeaderboardRecordRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) DeleteStorage ¶
func (UnimplementedConsoleServer) DeleteStorageObject ¶
func (UnimplementedConsoleServer) DeleteStorageObject(context.Context, *DeleteStorageObjectRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) DeleteUser ¶
func (UnimplementedConsoleServer) DeleteWalletLedger ¶
func (UnimplementedConsoleServer) DeleteWalletLedger(context.Context, *DeleteWalletLedgerRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) ExportAccount ¶
func (UnimplementedConsoleServer) ExportAccount(context.Context, *AccountId) (*AccountExport, error)
func (UnimplementedConsoleServer) GetAccount ¶
func (UnimplementedConsoleServer) GetFriends ¶
func (UnimplementedConsoleServer) GetFriends(context.Context, *AccountId) (*api.FriendList, error)
func (UnimplementedConsoleServer) GetGroups ¶
func (UnimplementedConsoleServer) GetGroups(context.Context, *AccountId) (*api.UserGroupList, error)
func (UnimplementedConsoleServer) GetLeaderboard ¶
func (UnimplementedConsoleServer) GetLeaderboard(context.Context, *LeaderboardRequest) (*Leaderboard, error)
func (UnimplementedConsoleServer) GetMatchState ¶
func (UnimplementedConsoleServer) GetMatchState(context.Context, *MatchStateRequest) (*MatchState, error)
func (UnimplementedConsoleServer) GetRuntime ¶
func (UnimplementedConsoleServer) GetRuntime(context.Context, *emptypb.Empty) (*RuntimeInfo, error)
func (UnimplementedConsoleServer) GetStatus ¶
func (UnimplementedConsoleServer) GetStatus(context.Context, *emptypb.Empty) (*StatusList, error)
func (UnimplementedConsoleServer) GetStorage ¶
func (UnimplementedConsoleServer) GetStorage(context.Context, *api.ReadStorageObjectId) (*api.StorageObject, error)
func (UnimplementedConsoleServer) GetWalletLedger ¶
func (UnimplementedConsoleServer) GetWalletLedger(context.Context, *GetWalletLedgerRequest) (*WalletLedgerList, error)
func (UnimplementedConsoleServer) ListAccounts ¶
func (UnimplementedConsoleServer) ListAccounts(context.Context, *ListAccountsRequest) (*AccountList, error)
func (UnimplementedConsoleServer) ListApiEndpoints ¶
func (UnimplementedConsoleServer) ListApiEndpoints(context.Context, *emptypb.Empty) (*ApiEndpointList, error)
func (UnimplementedConsoleServer) ListLeaderboardRecords ¶
func (UnimplementedConsoleServer) ListLeaderboardRecords(context.Context, *api.ListLeaderboardRecordsRequest) (*api.LeaderboardRecordList, error)
func (UnimplementedConsoleServer) ListLeaderboards ¶
func (UnimplementedConsoleServer) ListLeaderboards(context.Context, *emptypb.Empty) (*LeaderboardList, error)
func (UnimplementedConsoleServer) ListMatches ¶
func (UnimplementedConsoleServer) ListMatches(context.Context, *api.ListMatchesRequest) (*api.MatchList, error)
func (UnimplementedConsoleServer) ListPurchases ¶ added in v3.2.0
func (UnimplementedConsoleServer) ListPurchases(context.Context, *ListPurchasesRequest) (*api.PurchaseList, error)
func (UnimplementedConsoleServer) ListStorage ¶
func (UnimplementedConsoleServer) ListStorage(context.Context, *ListStorageRequest) (*StorageList, error)
func (UnimplementedConsoleServer) ListStorageCollections ¶
func (UnimplementedConsoleServer) ListStorageCollections(context.Context, *emptypb.Empty) (*StorageCollectionsList, error)
func (UnimplementedConsoleServer) UnbanAccount ¶
func (UnimplementedConsoleServer) UnlinkApple ¶
func (UnimplementedConsoleServer) UnlinkCustom ¶
func (UnimplementedConsoleServer) UnlinkDevice ¶
func (UnimplementedConsoleServer) UnlinkDevice(context.Context, *UnlinkDeviceRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) UnlinkEmail ¶
func (UnimplementedConsoleServer) UnlinkFacebook ¶
func (UnimplementedConsoleServer) UnlinkFacebookInstantGame ¶
func (UnimplementedConsoleServer) UnlinkGameCenter ¶
func (UnimplementedConsoleServer) UnlinkGoogle ¶
func (UnimplementedConsoleServer) UnlinkSteam ¶
func (UnimplementedConsoleServer) UpdateAccount ¶
func (UnimplementedConsoleServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) WriteStorageObject ¶
func (UnimplementedConsoleServer) WriteStorageObject(context.Context, *WriteStorageObjectRequest) (*api.StorageObjectAck, error)
type UnlinkDeviceRequest ¶
type UnlinkDeviceRequest struct { // User ID to unlink from. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Device ID to unlink. DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
Unlink a particular device ID from a user's account.
func (*UnlinkDeviceRequest) Descriptor
deprecated
func (*UnlinkDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlinkDeviceRequest.ProtoReflect.Descriptor instead.
func (*UnlinkDeviceRequest) GetDeviceId ¶
func (x *UnlinkDeviceRequest) GetDeviceId() string
func (*UnlinkDeviceRequest) GetId ¶
func (x *UnlinkDeviceRequest) GetId() string
func (*UnlinkDeviceRequest) ProtoMessage ¶
func (*UnlinkDeviceRequest) ProtoMessage()
func (*UnlinkDeviceRequest) ProtoReflect ¶
func (x *UnlinkDeviceRequest) ProtoReflect() protoreflect.Message
func (*UnlinkDeviceRequest) Reset ¶
func (x *UnlinkDeviceRequest) Reset()
func (*UnlinkDeviceRequest) String ¶
func (x *UnlinkDeviceRequest) String() string
type UnsafeConsoleServer ¶
type UnsafeConsoleServer interface {
// contains filtered or unexported methods
}
UnsafeConsoleServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConsoleServer will result in compilation errors.
type UpdateAccountRequest ¶
type UpdateAccountRequest struct { // User ID to update. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Username. Username *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // Display name. DisplayName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Metadata. Metadata *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // Avatar URL. AvatarUrl *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // Langtag. LangTag *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"` // Location. Location *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=location,proto3" json:"location,omitempty"` // Timezone. Timezone *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=timezone,proto3" json:"timezone,omitempty"` // Custom ID. CustomId *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"` // Email. Email *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=email,proto3" json:"email,omitempty"` // Password. Password *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"` // Device ID modifications. DeviceIds map[string]string `` /* 177-byte string literal not displayed */ // Wallet. Wallet *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=wallet,proto3" json:"wallet,omitempty"` // contains filtered or unexported fields }
Update user account information.
func (*UpdateAccountRequest) Descriptor
deprecated
func (*UpdateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccountRequest) GetAvatarUrl ¶
func (x *UpdateAccountRequest) GetAvatarUrl() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetCustomId ¶
func (x *UpdateAccountRequest) GetCustomId() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetDeviceIds ¶
func (x *UpdateAccountRequest) GetDeviceIds() map[string]string
func (*UpdateAccountRequest) GetDisplayName ¶
func (x *UpdateAccountRequest) GetDisplayName() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetEmail ¶
func (x *UpdateAccountRequest) GetEmail() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetId ¶
func (x *UpdateAccountRequest) GetId() string
func (*UpdateAccountRequest) GetLangTag ¶
func (x *UpdateAccountRequest) GetLangTag() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetLocation ¶
func (x *UpdateAccountRequest) GetLocation() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetMetadata ¶
func (x *UpdateAccountRequest) GetMetadata() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetPassword ¶
func (x *UpdateAccountRequest) GetPassword() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetTimezone ¶
func (x *UpdateAccountRequest) GetTimezone() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetUsername ¶
func (x *UpdateAccountRequest) GetUsername() *wrapperspb.StringValue
func (*UpdateAccountRequest) GetWallet ¶
func (x *UpdateAccountRequest) GetWallet() *wrapperspb.StringValue
func (*UpdateAccountRequest) ProtoMessage ¶
func (*UpdateAccountRequest) ProtoMessage()
func (*UpdateAccountRequest) ProtoReflect ¶
func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountRequest) Reset ¶
func (x *UpdateAccountRequest) Reset()
func (*UpdateAccountRequest) String ¶
func (x *UpdateAccountRequest) String() string
type UserList ¶
type UserList struct { // A list of users. Users []*UserList_User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
A list of console users.
func (*UserList) Descriptor
deprecated
func (*UserList) GetUsers ¶
func (x *UserList) GetUsers() []*UserList_User
func (*UserList) ProtoMessage ¶
func (*UserList) ProtoMessage()
func (*UserList) ProtoReflect ¶
func (x *UserList) ProtoReflect() protoreflect.Message
type UserList_User ¶
type UserList_User struct { // Username of the user Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // Email of the user Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // Role of the user; Role UserRole `protobuf:"varint,3,opt,name=role,proto3,enum=nakama.console.UserRole" json:"role,omitempty"` // contains filtered or unexported fields }
A console user
func (*UserList_User) Descriptor
deprecated
func (*UserList_User) Descriptor() ([]byte, []int)
Deprecated: Use UserList_User.ProtoReflect.Descriptor instead.
func (*UserList_User) GetEmail ¶
func (x *UserList_User) GetEmail() string
func (*UserList_User) GetRole ¶
func (x *UserList_User) GetRole() UserRole
func (*UserList_User) GetUsername ¶
func (x *UserList_User) GetUsername() string
func (*UserList_User) ProtoMessage ¶
func (*UserList_User) ProtoMessage()
func (*UserList_User) ProtoReflect ¶
func (x *UserList_User) ProtoReflect() protoreflect.Message
func (*UserList_User) Reset ¶
func (x *UserList_User) Reset()
func (*UserList_User) String ¶
func (x *UserList_User) String() string
type UserRole ¶
type UserRole int32
const ( UserRole_USER_ROLE_UNKNOWN UserRole = 0 UserRole_USER_ROLE_ADMIN UserRole = 1 // All access UserRole_USER_ROLE_DEVELOPER UserRole = 2 // Best for developers, also enables APIs and API explorer UserRole_USER_ROLE_MAINTAINER UserRole = 3 // Best for users who regularly update player information. UserRole_USER_ROLE_READONLY UserRole = 4 // Read-only role for those only need to view data )
func (UserRole) Descriptor ¶
func (UserRole) Descriptor() protoreflect.EnumDescriptor
func (UserRole) EnumDescriptor
deprecated
func (UserRole) Number ¶
func (x UserRole) Number() protoreflect.EnumNumber
func (UserRole) Type ¶
func (UserRole) Type() protoreflect.EnumType
type Username ¶
type Username struct { // The unique username of the user account. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
The identifier for a user account.
func (*Username) Descriptor
deprecated
func (*Username) GetUsername ¶
func (*Username) ProtoMessage ¶
func (*Username) ProtoMessage()
func (*Username) ProtoReflect ¶
func (x *Username) ProtoReflect() protoreflect.Message
type WalletLedger ¶
type WalletLedger struct { // The identifier of this wallet change. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The user ID this wallet ledger item belongs to. UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The changeset. Changeset string `protobuf:"bytes,3,opt,name=changeset,proto3" json:"changeset,omitempty"` // Any associated metadata. Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // The UNIX time when the wallet ledger item was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The UNIX time when the wallet ledger item was updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
An individual update to a user's wallet.
func (*WalletLedger) Descriptor
deprecated
func (*WalletLedger) Descriptor() ([]byte, []int)
Deprecated: Use WalletLedger.ProtoReflect.Descriptor instead.
func (*WalletLedger) GetChangeset ¶
func (x *WalletLedger) GetChangeset() string
func (*WalletLedger) GetCreateTime ¶
func (x *WalletLedger) GetCreateTime() *timestamppb.Timestamp
func (*WalletLedger) GetId ¶
func (x *WalletLedger) GetId() string
func (*WalletLedger) GetMetadata ¶
func (x *WalletLedger) GetMetadata() string
func (*WalletLedger) GetUpdateTime ¶
func (x *WalletLedger) GetUpdateTime() *timestamppb.Timestamp
func (*WalletLedger) GetUserId ¶
func (x *WalletLedger) GetUserId() string
func (*WalletLedger) ProtoMessage ¶
func (*WalletLedger) ProtoMessage()
func (*WalletLedger) ProtoReflect ¶
func (x *WalletLedger) ProtoReflect() protoreflect.Message
func (*WalletLedger) Reset ¶
func (x *WalletLedger) Reset()
func (*WalletLedger) String ¶
func (x *WalletLedger) String() string
type WalletLedgerList ¶
type WalletLedgerList struct { // A list of wallet ledger items. Items []*WalletLedger `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // The cursor to send when retrieving the next older page, if any. NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` // The cursor to send when retrieving the previous page newer, if any. PrevCursor string `protobuf:"bytes,3,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"` // contains filtered or unexported fields }
List of wallet ledger items for a particular user.
func (*WalletLedgerList) Descriptor
deprecated
func (*WalletLedgerList) Descriptor() ([]byte, []int)
Deprecated: Use WalletLedgerList.ProtoReflect.Descriptor instead.
func (*WalletLedgerList) GetItems ¶
func (x *WalletLedgerList) GetItems() []*WalletLedger
func (*WalletLedgerList) GetNextCursor ¶ added in v3.9.0
func (x *WalletLedgerList) GetNextCursor() string
func (*WalletLedgerList) GetPrevCursor ¶ added in v3.9.0
func (x *WalletLedgerList) GetPrevCursor() string
func (*WalletLedgerList) ProtoMessage ¶
func (*WalletLedgerList) ProtoMessage()
func (*WalletLedgerList) ProtoReflect ¶
func (x *WalletLedgerList) ProtoReflect() protoreflect.Message
func (*WalletLedgerList) Reset ¶
func (x *WalletLedgerList) Reset()
func (*WalletLedgerList) String ¶
func (x *WalletLedgerList) String() string
type WriteStorageObjectRequest ¶
type WriteStorageObjectRequest struct { // Collection. Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // Key. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Owner user ID. UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Value. Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // Version for OCC. Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // Read permission value. PermissionRead *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=permission_read,json=permissionRead,proto3" json:"permission_read,omitempty"` // Write permission value. PermissionWrite *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=permission_write,json=permissionWrite,proto3" json:"permission_write,omitempty"` // contains filtered or unexported fields }
Write a new storage object or update an existing one.
func (*WriteStorageObjectRequest) Descriptor
deprecated
func (*WriteStorageObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteStorageObjectRequest.ProtoReflect.Descriptor instead.
func (*WriteStorageObjectRequest) GetCollection ¶
func (x *WriteStorageObjectRequest) GetCollection() string
func (*WriteStorageObjectRequest) GetKey ¶
func (x *WriteStorageObjectRequest) GetKey() string
func (*WriteStorageObjectRequest) GetPermissionRead ¶
func (x *WriteStorageObjectRequest) GetPermissionRead() *wrapperspb.Int32Value
func (*WriteStorageObjectRequest) GetPermissionWrite ¶
func (x *WriteStorageObjectRequest) GetPermissionWrite() *wrapperspb.Int32Value
func (*WriteStorageObjectRequest) GetUserId ¶
func (x *WriteStorageObjectRequest) GetUserId() string
func (*WriteStorageObjectRequest) GetValue ¶
func (x *WriteStorageObjectRequest) GetValue() string
func (*WriteStorageObjectRequest) GetVersion ¶
func (x *WriteStorageObjectRequest) GetVersion() string
func (*WriteStorageObjectRequest) ProtoMessage ¶
func (*WriteStorageObjectRequest) ProtoMessage()
func (*WriteStorageObjectRequest) ProtoReflect ¶
func (x *WriteStorageObjectRequest) ProtoReflect() protoreflect.Message
func (*WriteStorageObjectRequest) Reset ¶
func (x *WriteStorageObjectRequest) Reset()
func (*WriteStorageObjectRequest) String ¶
func (x *WriteStorageObjectRequest) String() string