Documentation ¶
Overview ¶
Package apigrpc is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterNakamaHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterNakamaHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NakamaClient) error
- func RegisterNakamaHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterNakamaHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NakamaServer) error
- func RegisterNakamaServer(s grpc.ServiceRegistrar, srv NakamaServer)
- type NakamaClient
- type NakamaServer
- type UnimplementedNakamaServer
- func (UnimplementedNakamaServer) AddFriends(context.Context, *api.AddFriendsRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) AddGroupUsers(context.Context, *api.AddGroupUsersRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) AuthenticateApple(context.Context, *api.AuthenticateAppleRequest) (*api.Session, error)
- func (UnimplementedNakamaServer) AuthenticateCustom(context.Context, *api.AuthenticateCustomRequest) (*api.Session, error)
- func (UnimplementedNakamaServer) AuthenticateDevice(context.Context, *api.AuthenticateDeviceRequest) (*api.Session, error)
- func (UnimplementedNakamaServer) AuthenticateEmail(context.Context, *api.AuthenticateEmailRequest) (*api.Session, error)
- func (UnimplementedNakamaServer) AuthenticateFacebook(context.Context, *api.AuthenticateFacebookRequest) (*api.Session, error)
- func (UnimplementedNakamaServer) AuthenticateFacebookInstantGame(context.Context, *api.AuthenticateFacebookInstantGameRequest) (*api.Session, error)
- func (UnimplementedNakamaServer) AuthenticateGameCenter(context.Context, *api.AuthenticateGameCenterRequest) (*api.Session, error)
- func (UnimplementedNakamaServer) AuthenticateGoogle(context.Context, *api.AuthenticateGoogleRequest) (*api.Session, error)
- func (UnimplementedNakamaServer) AuthenticateSteam(context.Context, *api.AuthenticateSteamRequest) (*api.Session, error)
- func (UnimplementedNakamaServer) BanGroupUsers(context.Context, *api.BanGroupUsersRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) BlockFriends(context.Context, *api.BlockFriendsRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) CreateGroup(context.Context, *api.CreateGroupRequest) (*api.Group, error)
- func (UnimplementedNakamaServer) DeleteAccount(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) DeleteFriends(context.Context, *api.DeleteFriendsRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) DeleteGroup(context.Context, *api.DeleteGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) DeleteLeaderboardRecord(context.Context, *api.DeleteLeaderboardRecordRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) DeleteNotifications(context.Context, *api.DeleteNotificationsRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) DeleteStorageObjects(context.Context, *api.DeleteStorageObjectsRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) DeleteTournamentRecord(context.Context, *api.DeleteTournamentRecordRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) DemoteGroupUsers(context.Context, *api.DemoteGroupUsersRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) Event(context.Context, *api.Event) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) GetAccount(context.Context, *emptypb.Empty) (*api.Account, error)
- func (UnimplementedNakamaServer) GetMatchmakerStats(context.Context, *emptypb.Empty) (*api.MatchmakerStats, error)
- func (UnimplementedNakamaServer) GetSubscription(context.Context, *api.GetSubscriptionRequest) (*api.ValidatedSubscription, error)
- func (UnimplementedNakamaServer) GetUsers(context.Context, *api.GetUsersRequest) (*api.Users, error)
- func (UnimplementedNakamaServer) Healthcheck(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) ImportFacebookFriends(context.Context, *api.ImportFacebookFriendsRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) ImportSteamFriends(context.Context, *api.ImportSteamFriendsRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) JoinGroup(context.Context, *api.JoinGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) JoinTournament(context.Context, *api.JoinTournamentRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) KickGroupUsers(context.Context, *api.KickGroupUsersRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) LeaveGroup(context.Context, *api.LeaveGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) LinkApple(context.Context, *api.AccountApple) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) LinkCustom(context.Context, *api.AccountCustom) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) LinkDevice(context.Context, *api.AccountDevice) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) LinkEmail(context.Context, *api.AccountEmail) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) LinkFacebook(context.Context, *api.LinkFacebookRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) LinkFacebookInstantGame(context.Context, *api.AccountFacebookInstantGame) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) LinkGameCenter(context.Context, *api.AccountGameCenter) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) LinkGoogle(context.Context, *api.AccountGoogle) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) LinkSteam(context.Context, *api.LinkSteamRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) ListChannelMessages(context.Context, *api.ListChannelMessagesRequest) (*api.ChannelMessageList, error)
- func (UnimplementedNakamaServer) ListFriends(context.Context, *api.ListFriendsRequest) (*api.FriendList, error)
- func (UnimplementedNakamaServer) ListFriendsOfFriends(context.Context, *api.ListFriendsOfFriendsRequest) (*api.FriendsOfFriendsList, error)
- func (UnimplementedNakamaServer) ListGroupUsers(context.Context, *api.ListGroupUsersRequest) (*api.GroupUserList, error)
- func (UnimplementedNakamaServer) ListGroups(context.Context, *api.ListGroupsRequest) (*api.GroupList, error)
- func (UnimplementedNakamaServer) ListLeaderboardRecords(context.Context, *api.ListLeaderboardRecordsRequest) (*api.LeaderboardRecordList, error)
- func (UnimplementedNakamaServer) ListLeaderboardRecordsAroundOwner(context.Context, *api.ListLeaderboardRecordsAroundOwnerRequest) (*api.LeaderboardRecordList, error)
- func (UnimplementedNakamaServer) ListMatches(context.Context, *api.ListMatchesRequest) (*api.MatchList, error)
- func (UnimplementedNakamaServer) ListNotifications(context.Context, *api.ListNotificationsRequest) (*api.NotificationList, error)
- func (UnimplementedNakamaServer) ListStorageObjects(context.Context, *api.ListStorageObjectsRequest) (*api.StorageObjectList, error)
- func (UnimplementedNakamaServer) ListSubscriptions(context.Context, *api.ListSubscriptionsRequest) (*api.SubscriptionList, error)
- func (UnimplementedNakamaServer) ListTournamentRecords(context.Context, *api.ListTournamentRecordsRequest) (*api.TournamentRecordList, error)
- func (UnimplementedNakamaServer) ListTournamentRecordsAroundOwner(context.Context, *api.ListTournamentRecordsAroundOwnerRequest) (*api.TournamentRecordList, error)
- func (UnimplementedNakamaServer) ListTournaments(context.Context, *api.ListTournamentsRequest) (*api.TournamentList, error)
- func (UnimplementedNakamaServer) ListUserGroups(context.Context, *api.ListUserGroupsRequest) (*api.UserGroupList, error)
- func (UnimplementedNakamaServer) PromoteGroupUsers(context.Context, *api.PromoteGroupUsersRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) ReadStorageObjects(context.Context, *api.ReadStorageObjectsRequest) (*api.StorageObjects, error)
- func (UnimplementedNakamaServer) RpcFunc(context.Context, *api.Rpc) (*api.Rpc, error)
- func (UnimplementedNakamaServer) SessionLogout(context.Context, *api.SessionLogoutRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) SessionRefresh(context.Context, *api.SessionRefreshRequest) (*api.Session, error)
- func (UnimplementedNakamaServer) UnlinkApple(context.Context, *api.AccountApple) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) UnlinkCustom(context.Context, *api.AccountCustom) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) UnlinkDevice(context.Context, *api.AccountDevice) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) UnlinkEmail(context.Context, *api.AccountEmail) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) UnlinkFacebook(context.Context, *api.AccountFacebook) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) UnlinkFacebookInstantGame(context.Context, *api.AccountFacebookInstantGame) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) UnlinkGameCenter(context.Context, *api.AccountGameCenter) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) UnlinkGoogle(context.Context, *api.AccountGoogle) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) UnlinkSteam(context.Context, *api.AccountSteam) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) UpdateAccount(context.Context, *api.UpdateAccountRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) UpdateGroup(context.Context, *api.UpdateGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedNakamaServer) ValidatePurchaseApple(context.Context, *api.ValidatePurchaseAppleRequest) (*api.ValidatePurchaseResponse, error)
- func (UnimplementedNakamaServer) ValidatePurchaseFacebookInstant(context.Context, *api.ValidatePurchaseFacebookInstantRequest) (*api.ValidatePurchaseResponse, error)
- func (UnimplementedNakamaServer) ValidatePurchaseGoogle(context.Context, *api.ValidatePurchaseGoogleRequest) (*api.ValidatePurchaseResponse, error)
- func (UnimplementedNakamaServer) ValidatePurchaseHuawei(context.Context, *api.ValidatePurchaseHuaweiRequest) (*api.ValidatePurchaseResponse, error)
- func (UnimplementedNakamaServer) ValidateSubscriptionApple(context.Context, *api.ValidateSubscriptionAppleRequest) (*api.ValidateSubscriptionResponse, error)
- func (UnimplementedNakamaServer) ValidateSubscriptionGoogle(context.Context, *api.ValidateSubscriptionGoogleRequest) (*api.ValidateSubscriptionResponse, error)
- func (UnimplementedNakamaServer) WriteLeaderboardRecord(context.Context, *api.WriteLeaderboardRecordRequest) (*api.LeaderboardRecord, error)
- func (UnimplementedNakamaServer) WriteStorageObjects(context.Context, *api.WriteStorageObjectsRequest) (*api.StorageObjectAcks, error)
- func (UnimplementedNakamaServer) WriteTournamentRecord(context.Context, *api.WriteTournamentRecordRequest) (*api.LeaderboardRecord, error)
- type UnsafeNakamaServer
Constants ¶
const ( Nakama_AddFriends_FullMethodName = "/nakama.api.Nakama/AddFriends" Nakama_AddGroupUsers_FullMethodName = "/nakama.api.Nakama/AddGroupUsers" Nakama_SessionRefresh_FullMethodName = "/nakama.api.Nakama/SessionRefresh" Nakama_SessionLogout_FullMethodName = "/nakama.api.Nakama/SessionLogout" Nakama_AuthenticateApple_FullMethodName = "/nakama.api.Nakama/AuthenticateApple" Nakama_AuthenticateCustom_FullMethodName = "/nakama.api.Nakama/AuthenticateCustom" Nakama_AuthenticateDevice_FullMethodName = "/nakama.api.Nakama/AuthenticateDevice" Nakama_AuthenticateEmail_FullMethodName = "/nakama.api.Nakama/AuthenticateEmail" Nakama_AuthenticateFacebook_FullMethodName = "/nakama.api.Nakama/AuthenticateFacebook" Nakama_AuthenticateFacebookInstantGame_FullMethodName = "/nakama.api.Nakama/AuthenticateFacebookInstantGame" Nakama_AuthenticateGameCenter_FullMethodName = "/nakama.api.Nakama/AuthenticateGameCenter" Nakama_AuthenticateGoogle_FullMethodName = "/nakama.api.Nakama/AuthenticateGoogle" Nakama_AuthenticateSteam_FullMethodName = "/nakama.api.Nakama/AuthenticateSteam" Nakama_BanGroupUsers_FullMethodName = "/nakama.api.Nakama/BanGroupUsers" Nakama_BlockFriends_FullMethodName = "/nakama.api.Nakama/BlockFriends" Nakama_CreateGroup_FullMethodName = "/nakama.api.Nakama/CreateGroup" Nakama_DeleteAccount_FullMethodName = "/nakama.api.Nakama/DeleteAccount" Nakama_DeleteFriends_FullMethodName = "/nakama.api.Nakama/DeleteFriends" Nakama_DeleteGroup_FullMethodName = "/nakama.api.Nakama/DeleteGroup" Nakama_DeleteLeaderboardRecord_FullMethodName = "/nakama.api.Nakama/DeleteLeaderboardRecord" Nakama_DeleteNotifications_FullMethodName = "/nakama.api.Nakama/DeleteNotifications" Nakama_DeleteTournamentRecord_FullMethodName = "/nakama.api.Nakama/DeleteTournamentRecord" Nakama_DeleteStorageObjects_FullMethodName = "/nakama.api.Nakama/DeleteStorageObjects" Nakama_Event_FullMethodName = "/nakama.api.Nakama/Event" Nakama_GetAccount_FullMethodName = "/nakama.api.Nakama/GetAccount" Nakama_GetUsers_FullMethodName = "/nakama.api.Nakama/GetUsers" Nakama_GetSubscription_FullMethodName = "/nakama.api.Nakama/GetSubscription" Nakama_GetMatchmakerStats_FullMethodName = "/nakama.api.Nakama/GetMatchmakerStats" Nakama_Healthcheck_FullMethodName = "/nakama.api.Nakama/Healthcheck" Nakama_ImportFacebookFriends_FullMethodName = "/nakama.api.Nakama/ImportFacebookFriends" Nakama_ImportSteamFriends_FullMethodName = "/nakama.api.Nakama/ImportSteamFriends" Nakama_JoinGroup_FullMethodName = "/nakama.api.Nakama/JoinGroup" Nakama_JoinTournament_FullMethodName = "/nakama.api.Nakama/JoinTournament" Nakama_KickGroupUsers_FullMethodName = "/nakama.api.Nakama/KickGroupUsers" Nakama_LeaveGroup_FullMethodName = "/nakama.api.Nakama/LeaveGroup" Nakama_LinkApple_FullMethodName = "/nakama.api.Nakama/LinkApple" Nakama_LinkCustom_FullMethodName = "/nakama.api.Nakama/LinkCustom" Nakama_LinkDevice_FullMethodName = "/nakama.api.Nakama/LinkDevice" Nakama_LinkEmail_FullMethodName = "/nakama.api.Nakama/LinkEmail" Nakama_LinkFacebook_FullMethodName = "/nakama.api.Nakama/LinkFacebook" Nakama_LinkFacebookInstantGame_FullMethodName = "/nakama.api.Nakama/LinkFacebookInstantGame" Nakama_LinkGameCenter_FullMethodName = "/nakama.api.Nakama/LinkGameCenter" Nakama_LinkGoogle_FullMethodName = "/nakama.api.Nakama/LinkGoogle" Nakama_LinkSteam_FullMethodName = "/nakama.api.Nakama/LinkSteam" Nakama_ListChannelMessages_FullMethodName = "/nakama.api.Nakama/ListChannelMessages" Nakama_ListFriends_FullMethodName = "/nakama.api.Nakama/ListFriends" Nakama_ListFriendsOfFriends_FullMethodName = "/nakama.api.Nakama/ListFriendsOfFriends" Nakama_ListGroups_FullMethodName = "/nakama.api.Nakama/ListGroups" Nakama_ListGroupUsers_FullMethodName = "/nakama.api.Nakama/ListGroupUsers" Nakama_ListLeaderboardRecords_FullMethodName = "/nakama.api.Nakama/ListLeaderboardRecords" Nakama_ListLeaderboardRecordsAroundOwner_FullMethodName = "/nakama.api.Nakama/ListLeaderboardRecordsAroundOwner" Nakama_ListMatches_FullMethodName = "/nakama.api.Nakama/ListMatches" Nakama_ListNotifications_FullMethodName = "/nakama.api.Nakama/ListNotifications" Nakama_ListStorageObjects_FullMethodName = "/nakama.api.Nakama/ListStorageObjects" Nakama_ListSubscriptions_FullMethodName = "/nakama.api.Nakama/ListSubscriptions" Nakama_ListTournaments_FullMethodName = "/nakama.api.Nakama/ListTournaments" Nakama_ListTournamentRecords_FullMethodName = "/nakama.api.Nakama/ListTournamentRecords" Nakama_ListTournamentRecordsAroundOwner_FullMethodName = "/nakama.api.Nakama/ListTournamentRecordsAroundOwner" Nakama_ListUserGroups_FullMethodName = "/nakama.api.Nakama/ListUserGroups" Nakama_PromoteGroupUsers_FullMethodName = "/nakama.api.Nakama/PromoteGroupUsers" Nakama_DemoteGroupUsers_FullMethodName = "/nakama.api.Nakama/DemoteGroupUsers" Nakama_ReadStorageObjects_FullMethodName = "/nakama.api.Nakama/ReadStorageObjects" Nakama_RpcFunc_FullMethodName = "/nakama.api.Nakama/RpcFunc" Nakama_UnlinkApple_FullMethodName = "/nakama.api.Nakama/UnlinkApple" Nakama_UnlinkCustom_FullMethodName = "/nakama.api.Nakama/UnlinkCustom" Nakama_UnlinkDevice_FullMethodName = "/nakama.api.Nakama/UnlinkDevice" Nakama_UnlinkEmail_FullMethodName = "/nakama.api.Nakama/UnlinkEmail" Nakama_UnlinkFacebook_FullMethodName = "/nakama.api.Nakama/UnlinkFacebook" Nakama_UnlinkFacebookInstantGame_FullMethodName = "/nakama.api.Nakama/UnlinkFacebookInstantGame" Nakama_UnlinkGameCenter_FullMethodName = "/nakama.api.Nakama/UnlinkGameCenter" Nakama_UnlinkGoogle_FullMethodName = "/nakama.api.Nakama/UnlinkGoogle" Nakama_UnlinkSteam_FullMethodName = "/nakama.api.Nakama/UnlinkSteam" Nakama_UpdateAccount_FullMethodName = "/nakama.api.Nakama/UpdateAccount" Nakama_UpdateGroup_FullMethodName = "/nakama.api.Nakama/UpdateGroup" Nakama_ValidatePurchaseApple_FullMethodName = "/nakama.api.Nakama/ValidatePurchaseApple" Nakama_ValidateSubscriptionApple_FullMethodName = "/nakama.api.Nakama/ValidateSubscriptionApple" Nakama_ValidatePurchaseGoogle_FullMethodName = "/nakama.api.Nakama/ValidatePurchaseGoogle" Nakama_ValidateSubscriptionGoogle_FullMethodName = "/nakama.api.Nakama/ValidateSubscriptionGoogle" Nakama_ValidatePurchaseHuawei_FullMethodName = "/nakama.api.Nakama/ValidatePurchaseHuawei" Nakama_ValidatePurchaseFacebookInstant_FullMethodName = "/nakama.api.Nakama/ValidatePurchaseFacebookInstant" Nakama_WriteLeaderboardRecord_FullMethodName = "/nakama.api.Nakama/WriteLeaderboardRecord" Nakama_WriteStorageObjects_FullMethodName = "/nakama.api.Nakama/WriteStorageObjects" Nakama_WriteTournamentRecord_FullMethodName = "/nakama.api.Nakama/WriteTournamentRecord" )
Variables ¶
var File_apigrpc_proto protoreflect.FileDescriptor
var Nakama_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nakama.api.Nakama", HandlerType: (*NakamaServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddFriends", Handler: _Nakama_AddFriends_Handler, }, { MethodName: "AddGroupUsers", Handler: _Nakama_AddGroupUsers_Handler, }, { MethodName: "SessionRefresh", Handler: _Nakama_SessionRefresh_Handler, }, { MethodName: "SessionLogout", Handler: _Nakama_SessionLogout_Handler, }, { MethodName: "AuthenticateApple", Handler: _Nakama_AuthenticateApple_Handler, }, { MethodName: "AuthenticateCustom", Handler: _Nakama_AuthenticateCustom_Handler, }, { MethodName: "AuthenticateDevice", Handler: _Nakama_AuthenticateDevice_Handler, }, { MethodName: "AuthenticateEmail", Handler: _Nakama_AuthenticateEmail_Handler, }, { MethodName: "AuthenticateFacebook", Handler: _Nakama_AuthenticateFacebook_Handler, }, { MethodName: "AuthenticateFacebookInstantGame", Handler: _Nakama_AuthenticateFacebookInstantGame_Handler, }, { MethodName: "AuthenticateGameCenter", Handler: _Nakama_AuthenticateGameCenter_Handler, }, { MethodName: "AuthenticateGoogle", Handler: _Nakama_AuthenticateGoogle_Handler, }, { MethodName: "AuthenticateSteam", Handler: _Nakama_AuthenticateSteam_Handler, }, { MethodName: "BanGroupUsers", Handler: _Nakama_BanGroupUsers_Handler, }, { MethodName: "BlockFriends", Handler: _Nakama_BlockFriends_Handler, }, { MethodName: "CreateGroup", Handler: _Nakama_CreateGroup_Handler, }, { MethodName: "DeleteAccount", Handler: _Nakama_DeleteAccount_Handler, }, { MethodName: "DeleteFriends", Handler: _Nakama_DeleteFriends_Handler, }, { MethodName: "DeleteGroup", Handler: _Nakama_DeleteGroup_Handler, }, { MethodName: "DeleteLeaderboardRecord", Handler: _Nakama_DeleteLeaderboardRecord_Handler, }, { MethodName: "DeleteNotifications", Handler: _Nakama_DeleteNotifications_Handler, }, { MethodName: "DeleteTournamentRecord", Handler: _Nakama_DeleteTournamentRecord_Handler, }, { MethodName: "DeleteStorageObjects", Handler: _Nakama_DeleteStorageObjects_Handler, }, { MethodName: "Event", Handler: _Nakama_Event_Handler, }, { MethodName: "GetAccount", Handler: _Nakama_GetAccount_Handler, }, { MethodName: "GetUsers", Handler: _Nakama_GetUsers_Handler, }, { MethodName: "GetSubscription", Handler: _Nakama_GetSubscription_Handler, }, { MethodName: "GetMatchmakerStats", Handler: _Nakama_GetMatchmakerStats_Handler, }, { MethodName: "Healthcheck", Handler: _Nakama_Healthcheck_Handler, }, { MethodName: "ImportFacebookFriends", Handler: _Nakama_ImportFacebookFriends_Handler, }, { MethodName: "ImportSteamFriends", Handler: _Nakama_ImportSteamFriends_Handler, }, { MethodName: "JoinGroup", Handler: _Nakama_JoinGroup_Handler, }, { MethodName: "JoinTournament", Handler: _Nakama_JoinTournament_Handler, }, { MethodName: "KickGroupUsers", Handler: _Nakama_KickGroupUsers_Handler, }, { MethodName: "LeaveGroup", Handler: _Nakama_LeaveGroup_Handler, }, { MethodName: "LinkApple", Handler: _Nakama_LinkApple_Handler, }, { MethodName: "LinkCustom", Handler: _Nakama_LinkCustom_Handler, }, { MethodName: "LinkDevice", Handler: _Nakama_LinkDevice_Handler, }, { MethodName: "LinkEmail", Handler: _Nakama_LinkEmail_Handler, }, { MethodName: "LinkFacebook", Handler: _Nakama_LinkFacebook_Handler, }, { MethodName: "LinkFacebookInstantGame", Handler: _Nakama_LinkFacebookInstantGame_Handler, }, { MethodName: "LinkGameCenter", Handler: _Nakama_LinkGameCenter_Handler, }, { MethodName: "LinkGoogle", Handler: _Nakama_LinkGoogle_Handler, }, { MethodName: "LinkSteam", Handler: _Nakama_LinkSteam_Handler, }, { MethodName: "ListChannelMessages", Handler: _Nakama_ListChannelMessages_Handler, }, { MethodName: "ListFriends", Handler: _Nakama_ListFriends_Handler, }, { MethodName: "ListFriendsOfFriends", Handler: _Nakama_ListFriendsOfFriends_Handler, }, { MethodName: "ListGroups", Handler: _Nakama_ListGroups_Handler, }, { MethodName: "ListGroupUsers", Handler: _Nakama_ListGroupUsers_Handler, }, { MethodName: "ListLeaderboardRecords", Handler: _Nakama_ListLeaderboardRecords_Handler, }, { MethodName: "ListLeaderboardRecordsAroundOwner", Handler: _Nakama_ListLeaderboardRecordsAroundOwner_Handler, }, { MethodName: "ListMatches", Handler: _Nakama_ListMatches_Handler, }, { MethodName: "ListNotifications", Handler: _Nakama_ListNotifications_Handler, }, { MethodName: "ListStorageObjects", Handler: _Nakama_ListStorageObjects_Handler, }, { MethodName: "ListSubscriptions", Handler: _Nakama_ListSubscriptions_Handler, }, { MethodName: "ListTournaments", Handler: _Nakama_ListTournaments_Handler, }, { MethodName: "ListTournamentRecords", Handler: _Nakama_ListTournamentRecords_Handler, }, { MethodName: "ListTournamentRecordsAroundOwner", Handler: _Nakama_ListTournamentRecordsAroundOwner_Handler, }, { MethodName: "ListUserGroups", Handler: _Nakama_ListUserGroups_Handler, }, { MethodName: "PromoteGroupUsers", Handler: _Nakama_PromoteGroupUsers_Handler, }, { MethodName: "DemoteGroupUsers", Handler: _Nakama_DemoteGroupUsers_Handler, }, { MethodName: "ReadStorageObjects", Handler: _Nakama_ReadStorageObjects_Handler, }, { MethodName: "RpcFunc", Handler: _Nakama_RpcFunc_Handler, }, { MethodName: "UnlinkApple", Handler: _Nakama_UnlinkApple_Handler, }, { MethodName: "UnlinkCustom", Handler: _Nakama_UnlinkCustom_Handler, }, { MethodName: "UnlinkDevice", Handler: _Nakama_UnlinkDevice_Handler, }, { MethodName: "UnlinkEmail", Handler: _Nakama_UnlinkEmail_Handler, }, { MethodName: "UnlinkFacebook", Handler: _Nakama_UnlinkFacebook_Handler, }, { MethodName: "UnlinkFacebookInstantGame", Handler: _Nakama_UnlinkFacebookInstantGame_Handler, }, { MethodName: "UnlinkGameCenter", Handler: _Nakama_UnlinkGameCenter_Handler, }, { MethodName: "UnlinkGoogle", Handler: _Nakama_UnlinkGoogle_Handler, }, { MethodName: "UnlinkSteam", Handler: _Nakama_UnlinkSteam_Handler, }, { MethodName: "UpdateAccount", Handler: _Nakama_UpdateAccount_Handler, }, { MethodName: "UpdateGroup", Handler: _Nakama_UpdateGroup_Handler, }, { MethodName: "ValidatePurchaseApple", Handler: _Nakama_ValidatePurchaseApple_Handler, }, { MethodName: "ValidateSubscriptionApple", Handler: _Nakama_ValidateSubscriptionApple_Handler, }, { MethodName: "ValidatePurchaseGoogle", Handler: _Nakama_ValidatePurchaseGoogle_Handler, }, { MethodName: "ValidateSubscriptionGoogle", Handler: _Nakama_ValidateSubscriptionGoogle_Handler, }, { MethodName: "ValidatePurchaseHuawei", Handler: _Nakama_ValidatePurchaseHuawei_Handler, }, { MethodName: "ValidatePurchaseFacebookInstant", Handler: _Nakama_ValidatePurchaseFacebookInstant_Handler, }, { MethodName: "WriteLeaderboardRecord", Handler: _Nakama_WriteLeaderboardRecord_Handler, }, { MethodName: "WriteStorageObjects", Handler: _Nakama_WriteStorageObjects_Handler, }, { MethodName: "WriteTournamentRecord", Handler: _Nakama_WriteTournamentRecord_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "apigrpc.proto", }
Nakama_ServiceDesc is the grpc.ServiceDesc for Nakama service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNakamaHandler ¶
RegisterNakamaHandler registers the http handlers for service Nakama to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterNakamaHandlerClient ¶
func RegisterNakamaHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NakamaClient) error
RegisterNakamaHandlerClient registers the http handlers for service Nakama to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NakamaClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NakamaClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NakamaClient" to call the correct interceptors.
func RegisterNakamaHandlerFromEndpoint ¶
func RegisterNakamaHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterNakamaHandlerFromEndpoint is same as RegisterNakamaHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterNakamaHandlerServer ¶
func RegisterNakamaHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NakamaServer) error
RegisterNakamaHandlerServer registers the http handlers for service Nakama to "mux". UnaryRPC :call NakamaServer 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 RegisterNakamaHandlerFromEndpoint instead.
func RegisterNakamaServer ¶
func RegisterNakamaServer(s grpc.ServiceRegistrar, srv NakamaServer)
Types ¶
type NakamaClient ¶
type NakamaClient interface { // Add friends by ID or username to a user's account. AddFriends(ctx context.Context, in *api.AddFriendsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Add users to a group. AddGroupUsers(ctx context.Context, in *api.AddGroupUsersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Refresh a user's session using a refresh token retrieved from a previous authentication request. SessionRefresh(ctx context.Context, in *api.SessionRefreshRequest, opts ...grpc.CallOption) (*api.Session, error) // Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user. SessionLogout(ctx context.Context, in *api.SessionLogoutRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Authenticate a user with an Apple ID against the server. AuthenticateApple(ctx context.Context, in *api.AuthenticateAppleRequest, opts ...grpc.CallOption) (*api.Session, error) // Authenticate a user with a custom id against the server. AuthenticateCustom(ctx context.Context, in *api.AuthenticateCustomRequest, opts ...grpc.CallOption) (*api.Session, error) // Authenticate a user with a device id against the server. AuthenticateDevice(ctx context.Context, in *api.AuthenticateDeviceRequest, opts ...grpc.CallOption) (*api.Session, error) // Authenticate a user with an email+password against the server. AuthenticateEmail(ctx context.Context, in *api.AuthenticateEmailRequest, opts ...grpc.CallOption) (*api.Session, error) // Authenticate a user with a Facebook OAuth token against the server. AuthenticateFacebook(ctx context.Context, in *api.AuthenticateFacebookRequest, opts ...grpc.CallOption) (*api.Session, error) // Authenticate a user with a Facebook Instant Game token against the server. AuthenticateFacebookInstantGame(ctx context.Context, in *api.AuthenticateFacebookInstantGameRequest, opts ...grpc.CallOption) (*api.Session, error) // Authenticate a user with Apple's GameCenter against the server. AuthenticateGameCenter(ctx context.Context, in *api.AuthenticateGameCenterRequest, opts ...grpc.CallOption) (*api.Session, error) // Authenticate a user with Google against the server. AuthenticateGoogle(ctx context.Context, in *api.AuthenticateGoogleRequest, opts ...grpc.CallOption) (*api.Session, error) // Authenticate a user with Steam against the server. AuthenticateSteam(ctx context.Context, in *api.AuthenticateSteamRequest, opts ...grpc.CallOption) (*api.Session, error) // Ban a set of users from a group. BanGroupUsers(ctx context.Context, in *api.BanGroupUsersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Block one or more users by ID or username. BlockFriends(ctx context.Context, in *api.BlockFriendsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Create a new group with the current user as the owner. CreateGroup(ctx context.Context, in *api.CreateGroupRequest, opts ...grpc.CallOption) (*api.Group, error) // Delete the current user's account. DeleteAccount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete one or more users by ID or username. DeleteFriends(ctx context.Context, in *api.DeleteFriendsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete a group by ID. DeleteGroup(ctx context.Context, in *api.DeleteGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete a leaderboard record. DeleteLeaderboardRecord(ctx context.Context, in *api.DeleteLeaderboardRecordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete one or more notifications for the current user. DeleteNotifications(ctx context.Context, in *api.DeleteNotificationsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete a tournament record. DeleteTournamentRecord(ctx context.Context, in *api.DeleteTournamentRecordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete one or more objects by ID or username. DeleteStorageObjects(ctx context.Context, in *api.DeleteStorageObjectsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Submit an event for processing in the server's registered runtime custom events handler. Event(ctx context.Context, in *api.Event, opts ...grpc.CallOption) (*emptypb.Empty, error) // Fetch the current user's account. GetAccount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*api.Account, error) // Fetch zero or more users by ID and/or username. GetUsers(ctx context.Context, in *api.GetUsersRequest, opts ...grpc.CallOption) (*api.Users, error) // Get subscription by product id. GetSubscription(ctx context.Context, in *api.GetSubscriptionRequest, opts ...grpc.CallOption) (*api.ValidatedSubscription, error) // Get matchmaker stats. GetMatchmakerStats(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*api.MatchmakerStats, error) // A healthcheck which load balancers can use to check the service. Healthcheck(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) // Import Facebook friends and add them to a user's account. ImportFacebookFriends(ctx context.Context, in *api.ImportFacebookFriendsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Import Steam friends and add them to a user's account. ImportSteamFriends(ctx context.Context, in *api.ImportSteamFriendsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Immediately join an open group, or request to join a closed one. JoinGroup(ctx context.Context, in *api.JoinGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Attempt to join an open and running tournament. JoinTournament(ctx context.Context, in *api.JoinTournamentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Kick a set of users from a group. KickGroupUsers(ctx context.Context, in *api.KickGroupUsersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Leave a group the user is a member of. LeaveGroup(ctx context.Context, in *api.LeaveGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Add an Apple ID to the social profiles on the current user's account. LinkApple(ctx context.Context, in *api.AccountApple, opts ...grpc.CallOption) (*emptypb.Empty, error) // Add a custom ID to the social profiles on the current user's account. LinkCustom(ctx context.Context, in *api.AccountCustom, opts ...grpc.CallOption) (*emptypb.Empty, error) // Add a device ID to the social profiles on the current user's account. LinkDevice(ctx context.Context, in *api.AccountDevice, opts ...grpc.CallOption) (*emptypb.Empty, error) // Add an email+password to the social profiles on the current user's account. LinkEmail(ctx context.Context, in *api.AccountEmail, opts ...grpc.CallOption) (*emptypb.Empty, error) // Add Facebook to the social profiles on the current user's account. LinkFacebook(ctx context.Context, in *api.LinkFacebookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Add Facebook Instant Game to the social profiles on the current user's account. LinkFacebookInstantGame(ctx context.Context, in *api.AccountFacebookInstantGame, opts ...grpc.CallOption) (*emptypb.Empty, error) // Add Apple's GameCenter to the social profiles on the current user's account. LinkGameCenter(ctx context.Context, in *api.AccountGameCenter, opts ...grpc.CallOption) (*emptypb.Empty, error) // Add Google to the social profiles on the current user's account. LinkGoogle(ctx context.Context, in *api.AccountGoogle, opts ...grpc.CallOption) (*emptypb.Empty, error) // Add Steam to the social profiles on the current user's account. LinkSteam(ctx context.Context, in *api.LinkSteamRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // List a channel's message history. ListChannelMessages(ctx context.Context, in *api.ListChannelMessagesRequest, opts ...grpc.CallOption) (*api.ChannelMessageList, error) // List all friends for the current user. ListFriends(ctx context.Context, in *api.ListFriendsRequest, opts ...grpc.CallOption) (*api.FriendList, error) // List friends of friends for the current user. ListFriendsOfFriends(ctx context.Context, in *api.ListFriendsOfFriendsRequest, opts ...grpc.CallOption) (*api.FriendsOfFriendsList, error) // List groups based on given filters. ListGroups(ctx context.Context, in *api.ListGroupsRequest, opts ...grpc.CallOption) (*api.GroupList, error) // List all users that are part of a group. ListGroupUsers(ctx context.Context, in *api.ListGroupUsersRequest, opts ...grpc.CallOption) (*api.GroupUserList, error) // List leaderboard records. ListLeaderboardRecords(ctx context.Context, in *api.ListLeaderboardRecordsRequest, opts ...grpc.CallOption) (*api.LeaderboardRecordList, error) // List leaderboard records that belong to a user. ListLeaderboardRecordsAroundOwner(ctx context.Context, in *api.ListLeaderboardRecordsAroundOwnerRequest, opts ...grpc.CallOption) (*api.LeaderboardRecordList, error) // Fetch list of running matches. ListMatches(ctx context.Context, in *api.ListMatchesRequest, opts ...grpc.CallOption) (*api.MatchList, error) // Fetch list of notifications. ListNotifications(ctx context.Context, in *api.ListNotificationsRequest, opts ...grpc.CallOption) (*api.NotificationList, error) // List publicly readable storage objects in a given collection. ListStorageObjects(ctx context.Context, in *api.ListStorageObjectsRequest, opts ...grpc.CallOption) (*api.StorageObjectList, error) // List user's subscriptions. ListSubscriptions(ctx context.Context, in *api.ListSubscriptionsRequest, opts ...grpc.CallOption) (*api.SubscriptionList, error) // List current or upcoming tournaments. ListTournaments(ctx context.Context, in *api.ListTournamentsRequest, opts ...grpc.CallOption) (*api.TournamentList, error) // List tournament records. ListTournamentRecords(ctx context.Context, in *api.ListTournamentRecordsRequest, opts ...grpc.CallOption) (*api.TournamentRecordList, error) // List tournament records for a given owner. ListTournamentRecordsAroundOwner(ctx context.Context, in *api.ListTournamentRecordsAroundOwnerRequest, opts ...grpc.CallOption) (*api.TournamentRecordList, error) // List groups the current user belongs to. ListUserGroups(ctx context.Context, in *api.ListUserGroupsRequest, opts ...grpc.CallOption) (*api.UserGroupList, error) // Promote a set of users in a group to the next role up. PromoteGroupUsers(ctx context.Context, in *api.PromoteGroupUsersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Demote a set of users in a group to the next role down. DemoteGroupUsers(ctx context.Context, in *api.DemoteGroupUsersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Get storage objects. ReadStorageObjects(ctx context.Context, in *api.ReadStorageObjectsRequest, opts ...grpc.CallOption) (*api.StorageObjects, error) // Execute a Lua function on the server. RpcFunc(ctx context.Context, in *api.Rpc, opts ...grpc.CallOption) (*api.Rpc, error) // Remove the Apple ID from the social profiles on the current user's account. UnlinkApple(ctx context.Context, in *api.AccountApple, opts ...grpc.CallOption) (*emptypb.Empty, error) // Remove the custom ID from the social profiles on the current user's account. UnlinkCustom(ctx context.Context, in *api.AccountCustom, opts ...grpc.CallOption) (*emptypb.Empty, error) // Remove the device ID from the social profiles on the current user's account. UnlinkDevice(ctx context.Context, in *api.AccountDevice, opts ...grpc.CallOption) (*emptypb.Empty, error) // Remove the email+password from the social profiles on the current user's account. UnlinkEmail(ctx context.Context, in *api.AccountEmail, opts ...grpc.CallOption) (*emptypb.Empty, error) // Remove Facebook from the social profiles on the current user's account. UnlinkFacebook(ctx context.Context, in *api.AccountFacebook, opts ...grpc.CallOption) (*emptypb.Empty, error) // Remove Facebook Instant Game profile from the social profiles on the current user's account. UnlinkFacebookInstantGame(ctx context.Context, in *api.AccountFacebookInstantGame, opts ...grpc.CallOption) (*emptypb.Empty, error) // Remove Apple's GameCenter from the social profiles on the current user's account. UnlinkGameCenter(ctx context.Context, in *api.AccountGameCenter, opts ...grpc.CallOption) (*emptypb.Empty, error) // Remove Google from the social profiles on the current user's account. UnlinkGoogle(ctx context.Context, in *api.AccountGoogle, opts ...grpc.CallOption) (*emptypb.Empty, error) // Remove Steam from the social profiles on the current user's account. UnlinkSteam(ctx context.Context, in *api.AccountSteam, opts ...grpc.CallOption) (*emptypb.Empty, error) // Update fields in the current user's account. UpdateAccount(ctx context.Context, in *api.UpdateAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Update fields in a given group. UpdateGroup(ctx context.Context, in *api.UpdateGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Validate Apple IAP Receipt ValidatePurchaseApple(ctx context.Context, in *api.ValidatePurchaseAppleRequest, opts ...grpc.CallOption) (*api.ValidatePurchaseResponse, error) // Validate Apple Subscription Receipt ValidateSubscriptionApple(ctx context.Context, in *api.ValidateSubscriptionAppleRequest, opts ...grpc.CallOption) (*api.ValidateSubscriptionResponse, error) // Validate Google IAP Receipt ValidatePurchaseGoogle(ctx context.Context, in *api.ValidatePurchaseGoogleRequest, opts ...grpc.CallOption) (*api.ValidatePurchaseResponse, error) // Validate Google Subscription Receipt ValidateSubscriptionGoogle(ctx context.Context, in *api.ValidateSubscriptionGoogleRequest, opts ...grpc.CallOption) (*api.ValidateSubscriptionResponse, error) // Validate Huawei IAP Receipt ValidatePurchaseHuawei(ctx context.Context, in *api.ValidatePurchaseHuaweiRequest, opts ...grpc.CallOption) (*api.ValidatePurchaseResponse, error) // Validate FB Instant IAP Receipt ValidatePurchaseFacebookInstant(ctx context.Context, in *api.ValidatePurchaseFacebookInstantRequest, opts ...grpc.CallOption) (*api.ValidatePurchaseResponse, error) // Write a record to a leaderboard. WriteLeaderboardRecord(ctx context.Context, in *api.WriteLeaderboardRecordRequest, opts ...grpc.CallOption) (*api.LeaderboardRecord, error) // Write objects into the storage engine. WriteStorageObjects(ctx context.Context, in *api.WriteStorageObjectsRequest, opts ...grpc.CallOption) (*api.StorageObjectAcks, error) // Write a record to a tournament. WriteTournamentRecord(ctx context.Context, in *api.WriteTournamentRecordRequest, opts ...grpc.CallOption) (*api.LeaderboardRecord, error) }
NakamaClient is the client API for Nakama 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 NewNakamaClient ¶
func NewNakamaClient(cc grpc.ClientConnInterface) NakamaClient
type NakamaServer ¶
type NakamaServer interface { // Add friends by ID or username to a user's account. AddFriends(context.Context, *api.AddFriendsRequest) (*emptypb.Empty, error) // Add users to a group. AddGroupUsers(context.Context, *api.AddGroupUsersRequest) (*emptypb.Empty, error) // Refresh a user's session using a refresh token retrieved from a previous authentication request. SessionRefresh(context.Context, *api.SessionRefreshRequest) (*api.Session, error) // Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user. SessionLogout(context.Context, *api.SessionLogoutRequest) (*emptypb.Empty, error) // Authenticate a user with an Apple ID against the server. AuthenticateApple(context.Context, *api.AuthenticateAppleRequest) (*api.Session, error) // Authenticate a user with a custom id against the server. AuthenticateCustom(context.Context, *api.AuthenticateCustomRequest) (*api.Session, error) // Authenticate a user with a device id against the server. AuthenticateDevice(context.Context, *api.AuthenticateDeviceRequest) (*api.Session, error) // Authenticate a user with an email+password against the server. AuthenticateEmail(context.Context, *api.AuthenticateEmailRequest) (*api.Session, error) // Authenticate a user with a Facebook OAuth token against the server. AuthenticateFacebook(context.Context, *api.AuthenticateFacebookRequest) (*api.Session, error) // Authenticate a user with a Facebook Instant Game token against the server. AuthenticateFacebookInstantGame(context.Context, *api.AuthenticateFacebookInstantGameRequest) (*api.Session, error) // Authenticate a user with Apple's GameCenter against the server. AuthenticateGameCenter(context.Context, *api.AuthenticateGameCenterRequest) (*api.Session, error) // Authenticate a user with Google against the server. AuthenticateGoogle(context.Context, *api.AuthenticateGoogleRequest) (*api.Session, error) // Authenticate a user with Steam against the server. AuthenticateSteam(context.Context, *api.AuthenticateSteamRequest) (*api.Session, error) // Ban a set of users from a group. BanGroupUsers(context.Context, *api.BanGroupUsersRequest) (*emptypb.Empty, error) // Block one or more users by ID or username. BlockFriends(context.Context, *api.BlockFriendsRequest) (*emptypb.Empty, error) // Create a new group with the current user as the owner. CreateGroup(context.Context, *api.CreateGroupRequest) (*api.Group, error) // Delete the current user's account. DeleteAccount(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // Delete one or more users by ID or username. DeleteFriends(context.Context, *api.DeleteFriendsRequest) (*emptypb.Empty, error) // Delete a group by ID. DeleteGroup(context.Context, *api.DeleteGroupRequest) (*emptypb.Empty, error) // Delete a leaderboard record. DeleteLeaderboardRecord(context.Context, *api.DeleteLeaderboardRecordRequest) (*emptypb.Empty, error) // Delete one or more notifications for the current user. DeleteNotifications(context.Context, *api.DeleteNotificationsRequest) (*emptypb.Empty, error) // Delete a tournament record. DeleteTournamentRecord(context.Context, *api.DeleteTournamentRecordRequest) (*emptypb.Empty, error) // Delete one or more objects by ID or username. DeleteStorageObjects(context.Context, *api.DeleteStorageObjectsRequest) (*emptypb.Empty, error) // Submit an event for processing in the server's registered runtime custom events handler. Event(context.Context, *api.Event) (*emptypb.Empty, error) // Fetch the current user's account. GetAccount(context.Context, *emptypb.Empty) (*api.Account, error) // Fetch zero or more users by ID and/or username. GetUsers(context.Context, *api.GetUsersRequest) (*api.Users, error) // Get subscription by product id. GetSubscription(context.Context, *api.GetSubscriptionRequest) (*api.ValidatedSubscription, error) // Get matchmaker stats. GetMatchmakerStats(context.Context, *emptypb.Empty) (*api.MatchmakerStats, error) // A healthcheck which load balancers can use to check the service. Healthcheck(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // Import Facebook friends and add them to a user's account. ImportFacebookFriends(context.Context, *api.ImportFacebookFriendsRequest) (*emptypb.Empty, error) // Import Steam friends and add them to a user's account. ImportSteamFriends(context.Context, *api.ImportSteamFriendsRequest) (*emptypb.Empty, error) // Immediately join an open group, or request to join a closed one. JoinGroup(context.Context, *api.JoinGroupRequest) (*emptypb.Empty, error) // Attempt to join an open and running tournament. JoinTournament(context.Context, *api.JoinTournamentRequest) (*emptypb.Empty, error) // Kick a set of users from a group. KickGroupUsers(context.Context, *api.KickGroupUsersRequest) (*emptypb.Empty, error) // Leave a group the user is a member of. LeaveGroup(context.Context, *api.LeaveGroupRequest) (*emptypb.Empty, error) // Add an Apple ID to the social profiles on the current user's account. LinkApple(context.Context, *api.AccountApple) (*emptypb.Empty, error) // Add a custom ID to the social profiles on the current user's account. LinkCustom(context.Context, *api.AccountCustom) (*emptypb.Empty, error) // Add a device ID to the social profiles on the current user's account. LinkDevice(context.Context, *api.AccountDevice) (*emptypb.Empty, error) // Add an email+password to the social profiles on the current user's account. LinkEmail(context.Context, *api.AccountEmail) (*emptypb.Empty, error) // Add Facebook to the social profiles on the current user's account. LinkFacebook(context.Context, *api.LinkFacebookRequest) (*emptypb.Empty, error) // Add Facebook Instant Game to the social profiles on the current user's account. LinkFacebookInstantGame(context.Context, *api.AccountFacebookInstantGame) (*emptypb.Empty, error) // Add Apple's GameCenter to the social profiles on the current user's account. LinkGameCenter(context.Context, *api.AccountGameCenter) (*emptypb.Empty, error) // Add Google to the social profiles on the current user's account. LinkGoogle(context.Context, *api.AccountGoogle) (*emptypb.Empty, error) // Add Steam to the social profiles on the current user's account. LinkSteam(context.Context, *api.LinkSteamRequest) (*emptypb.Empty, error) // List a channel's message history. ListChannelMessages(context.Context, *api.ListChannelMessagesRequest) (*api.ChannelMessageList, error) // List all friends for the current user. ListFriends(context.Context, *api.ListFriendsRequest) (*api.FriendList, error) // List friends of friends for the current user. ListFriendsOfFriends(context.Context, *api.ListFriendsOfFriendsRequest) (*api.FriendsOfFriendsList, error) // List groups based on given filters. ListGroups(context.Context, *api.ListGroupsRequest) (*api.GroupList, error) // List all users that are part of a group. ListGroupUsers(context.Context, *api.ListGroupUsersRequest) (*api.GroupUserList, error) // List leaderboard records. ListLeaderboardRecords(context.Context, *api.ListLeaderboardRecordsRequest) (*api.LeaderboardRecordList, error) // List leaderboard records that belong to a user. ListLeaderboardRecordsAroundOwner(context.Context, *api.ListLeaderboardRecordsAroundOwnerRequest) (*api.LeaderboardRecordList, error) // Fetch list of running matches. ListMatches(context.Context, *api.ListMatchesRequest) (*api.MatchList, error) // Fetch list of notifications. ListNotifications(context.Context, *api.ListNotificationsRequest) (*api.NotificationList, error) // List publicly readable storage objects in a given collection. ListStorageObjects(context.Context, *api.ListStorageObjectsRequest) (*api.StorageObjectList, error) // List user's subscriptions. ListSubscriptions(context.Context, *api.ListSubscriptionsRequest) (*api.SubscriptionList, error) // List current or upcoming tournaments. ListTournaments(context.Context, *api.ListTournamentsRequest) (*api.TournamentList, error) // List tournament records. ListTournamentRecords(context.Context, *api.ListTournamentRecordsRequest) (*api.TournamentRecordList, error) // List tournament records for a given owner. ListTournamentRecordsAroundOwner(context.Context, *api.ListTournamentRecordsAroundOwnerRequest) (*api.TournamentRecordList, error) // List groups the current user belongs to. ListUserGroups(context.Context, *api.ListUserGroupsRequest) (*api.UserGroupList, error) // Promote a set of users in a group to the next role up. PromoteGroupUsers(context.Context, *api.PromoteGroupUsersRequest) (*emptypb.Empty, error) // Demote a set of users in a group to the next role down. DemoteGroupUsers(context.Context, *api.DemoteGroupUsersRequest) (*emptypb.Empty, error) // Get storage objects. ReadStorageObjects(context.Context, *api.ReadStorageObjectsRequest) (*api.StorageObjects, error) // Execute a Lua function on the server. RpcFunc(context.Context, *api.Rpc) (*api.Rpc, error) // Remove the Apple ID from the social profiles on the current user's account. UnlinkApple(context.Context, *api.AccountApple) (*emptypb.Empty, error) // Remove the custom ID from the social profiles on the current user's account. UnlinkCustom(context.Context, *api.AccountCustom) (*emptypb.Empty, error) // Remove the device ID from the social profiles on the current user's account. UnlinkDevice(context.Context, *api.AccountDevice) (*emptypb.Empty, error) // Remove the email+password from the social profiles on the current user's account. UnlinkEmail(context.Context, *api.AccountEmail) (*emptypb.Empty, error) // Remove Facebook from the social profiles on the current user's account. UnlinkFacebook(context.Context, *api.AccountFacebook) (*emptypb.Empty, error) // Remove Facebook Instant Game profile from the social profiles on the current user's account. UnlinkFacebookInstantGame(context.Context, *api.AccountFacebookInstantGame) (*emptypb.Empty, error) // Remove Apple's GameCenter from the social profiles on the current user's account. UnlinkGameCenter(context.Context, *api.AccountGameCenter) (*emptypb.Empty, error) // Remove Google from the social profiles on the current user's account. UnlinkGoogle(context.Context, *api.AccountGoogle) (*emptypb.Empty, error) // Remove Steam from the social profiles on the current user's account. UnlinkSteam(context.Context, *api.AccountSteam) (*emptypb.Empty, error) // Update fields in the current user's account. UpdateAccount(context.Context, *api.UpdateAccountRequest) (*emptypb.Empty, error) // Update fields in a given group. UpdateGroup(context.Context, *api.UpdateGroupRequest) (*emptypb.Empty, error) // Validate Apple IAP Receipt ValidatePurchaseApple(context.Context, *api.ValidatePurchaseAppleRequest) (*api.ValidatePurchaseResponse, error) // Validate Apple Subscription Receipt ValidateSubscriptionApple(context.Context, *api.ValidateSubscriptionAppleRequest) (*api.ValidateSubscriptionResponse, error) // Validate Google IAP Receipt ValidatePurchaseGoogle(context.Context, *api.ValidatePurchaseGoogleRequest) (*api.ValidatePurchaseResponse, error) // Validate Google Subscription Receipt ValidateSubscriptionGoogle(context.Context, *api.ValidateSubscriptionGoogleRequest) (*api.ValidateSubscriptionResponse, error) // Validate Huawei IAP Receipt ValidatePurchaseHuawei(context.Context, *api.ValidatePurchaseHuaweiRequest) (*api.ValidatePurchaseResponse, error) // Validate FB Instant IAP Receipt ValidatePurchaseFacebookInstant(context.Context, *api.ValidatePurchaseFacebookInstantRequest) (*api.ValidatePurchaseResponse, error) // Write a record to a leaderboard. WriteLeaderboardRecord(context.Context, *api.WriteLeaderboardRecordRequest) (*api.LeaderboardRecord, error) // Write objects into the storage engine. WriteStorageObjects(context.Context, *api.WriteStorageObjectsRequest) (*api.StorageObjectAcks, error) // Write a record to a tournament. WriteTournamentRecord(context.Context, *api.WriteTournamentRecordRequest) (*api.LeaderboardRecord, error) // contains filtered or unexported methods }
NakamaServer is the server API for Nakama service. All implementations must embed UnimplementedNakamaServer for forward compatibility
type UnimplementedNakamaServer ¶
type UnimplementedNakamaServer struct { }
UnimplementedNakamaServer must be embedded to have forward compatible implementations.
func (UnimplementedNakamaServer) AddFriends ¶
func (UnimplementedNakamaServer) AddFriends(context.Context, *api.AddFriendsRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) AddGroupUsers ¶
func (UnimplementedNakamaServer) AddGroupUsers(context.Context, *api.AddGroupUsersRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) AuthenticateApple ¶
func (UnimplementedNakamaServer) AuthenticateApple(context.Context, *api.AuthenticateAppleRequest) (*api.Session, error)
func (UnimplementedNakamaServer) AuthenticateCustom ¶
func (UnimplementedNakamaServer) AuthenticateCustom(context.Context, *api.AuthenticateCustomRequest) (*api.Session, error)
func (UnimplementedNakamaServer) AuthenticateDevice ¶
func (UnimplementedNakamaServer) AuthenticateDevice(context.Context, *api.AuthenticateDeviceRequest) (*api.Session, error)
func (UnimplementedNakamaServer) AuthenticateEmail ¶
func (UnimplementedNakamaServer) AuthenticateEmail(context.Context, *api.AuthenticateEmailRequest) (*api.Session, error)
func (UnimplementedNakamaServer) AuthenticateFacebook ¶
func (UnimplementedNakamaServer) AuthenticateFacebook(context.Context, *api.AuthenticateFacebookRequest) (*api.Session, error)
func (UnimplementedNakamaServer) AuthenticateFacebookInstantGame ¶
func (UnimplementedNakamaServer) AuthenticateFacebookInstantGame(context.Context, *api.AuthenticateFacebookInstantGameRequest) (*api.Session, error)
func (UnimplementedNakamaServer) AuthenticateGameCenter ¶
func (UnimplementedNakamaServer) AuthenticateGameCenter(context.Context, *api.AuthenticateGameCenterRequest) (*api.Session, error)
func (UnimplementedNakamaServer) AuthenticateGoogle ¶
func (UnimplementedNakamaServer) AuthenticateGoogle(context.Context, *api.AuthenticateGoogleRequest) (*api.Session, error)
func (UnimplementedNakamaServer) AuthenticateSteam ¶
func (UnimplementedNakamaServer) AuthenticateSteam(context.Context, *api.AuthenticateSteamRequest) (*api.Session, error)
func (UnimplementedNakamaServer) BanGroupUsers ¶
func (UnimplementedNakamaServer) BanGroupUsers(context.Context, *api.BanGroupUsersRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) BlockFriends ¶
func (UnimplementedNakamaServer) BlockFriends(context.Context, *api.BlockFriendsRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) CreateGroup ¶
func (UnimplementedNakamaServer) CreateGroup(context.Context, *api.CreateGroupRequest) (*api.Group, error)
func (UnimplementedNakamaServer) DeleteAccount ¶ added in v3.15.0
func (UnimplementedNakamaServer) DeleteFriends ¶
func (UnimplementedNakamaServer) DeleteFriends(context.Context, *api.DeleteFriendsRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) DeleteGroup ¶
func (UnimplementedNakamaServer) DeleteGroup(context.Context, *api.DeleteGroupRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) DeleteLeaderboardRecord ¶
func (UnimplementedNakamaServer) DeleteLeaderboardRecord(context.Context, *api.DeleteLeaderboardRecordRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) DeleteNotifications ¶
func (UnimplementedNakamaServer) DeleteNotifications(context.Context, *api.DeleteNotificationsRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) DeleteStorageObjects ¶
func (UnimplementedNakamaServer) DeleteStorageObjects(context.Context, *api.DeleteStorageObjectsRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) DeleteTournamentRecord ¶ added in v3.16.0
func (UnimplementedNakamaServer) DeleteTournamentRecord(context.Context, *api.DeleteTournamentRecordRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) DemoteGroupUsers ¶
func (UnimplementedNakamaServer) DemoteGroupUsers(context.Context, *api.DemoteGroupUsersRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) GetAccount ¶
func (UnimplementedNakamaServer) GetMatchmakerStats ¶ added in v3.23.0
func (UnimplementedNakamaServer) GetMatchmakerStats(context.Context, *emptypb.Empty) (*api.MatchmakerStats, error)
func (UnimplementedNakamaServer) GetSubscription ¶ added in v3.13.0
func (UnimplementedNakamaServer) GetSubscription(context.Context, *api.GetSubscriptionRequest) (*api.ValidatedSubscription, error)
func (UnimplementedNakamaServer) GetUsers ¶
func (UnimplementedNakamaServer) GetUsers(context.Context, *api.GetUsersRequest) (*api.Users, error)
func (UnimplementedNakamaServer) Healthcheck ¶
func (UnimplementedNakamaServer) ImportFacebookFriends ¶
func (UnimplementedNakamaServer) ImportFacebookFriends(context.Context, *api.ImportFacebookFriendsRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) ImportSteamFriends ¶ added in v3.1.0
func (UnimplementedNakamaServer) ImportSteamFriends(context.Context, *api.ImportSteamFriendsRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) JoinGroup ¶
func (UnimplementedNakamaServer) JoinGroup(context.Context, *api.JoinGroupRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) JoinTournament ¶
func (UnimplementedNakamaServer) JoinTournament(context.Context, *api.JoinTournamentRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) KickGroupUsers ¶
func (UnimplementedNakamaServer) KickGroupUsers(context.Context, *api.KickGroupUsersRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) LeaveGroup ¶
func (UnimplementedNakamaServer) LeaveGroup(context.Context, *api.LeaveGroupRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) LinkApple ¶
func (UnimplementedNakamaServer) LinkApple(context.Context, *api.AccountApple) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) LinkCustom ¶
func (UnimplementedNakamaServer) LinkCustom(context.Context, *api.AccountCustom) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) LinkDevice ¶
func (UnimplementedNakamaServer) LinkDevice(context.Context, *api.AccountDevice) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) LinkEmail ¶
func (UnimplementedNakamaServer) LinkEmail(context.Context, *api.AccountEmail) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) LinkFacebook ¶
func (UnimplementedNakamaServer) LinkFacebook(context.Context, *api.LinkFacebookRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) LinkFacebookInstantGame ¶
func (UnimplementedNakamaServer) LinkFacebookInstantGame(context.Context, *api.AccountFacebookInstantGame) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) LinkGameCenter ¶
func (UnimplementedNakamaServer) LinkGameCenter(context.Context, *api.AccountGameCenter) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) LinkGoogle ¶
func (UnimplementedNakamaServer) LinkGoogle(context.Context, *api.AccountGoogle) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) LinkSteam ¶
func (UnimplementedNakamaServer) LinkSteam(context.Context, *api.LinkSteamRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) ListChannelMessages ¶
func (UnimplementedNakamaServer) ListChannelMessages(context.Context, *api.ListChannelMessagesRequest) (*api.ChannelMessageList, error)
func (UnimplementedNakamaServer) ListFriends ¶
func (UnimplementedNakamaServer) ListFriends(context.Context, *api.ListFriendsRequest) (*api.FriendList, error)
func (UnimplementedNakamaServer) ListFriendsOfFriends ¶ added in v3.22.0
func (UnimplementedNakamaServer) ListFriendsOfFriends(context.Context, *api.ListFriendsOfFriendsRequest) (*api.FriendsOfFriendsList, error)
func (UnimplementedNakamaServer) ListGroupUsers ¶
func (UnimplementedNakamaServer) ListGroupUsers(context.Context, *api.ListGroupUsersRequest) (*api.GroupUserList, error)
func (UnimplementedNakamaServer) ListGroups ¶
func (UnimplementedNakamaServer) ListGroups(context.Context, *api.ListGroupsRequest) (*api.GroupList, error)
func (UnimplementedNakamaServer) ListLeaderboardRecords ¶
func (UnimplementedNakamaServer) ListLeaderboardRecords(context.Context, *api.ListLeaderboardRecordsRequest) (*api.LeaderboardRecordList, error)
func (UnimplementedNakamaServer) ListLeaderboardRecordsAroundOwner ¶
func (UnimplementedNakamaServer) ListLeaderboardRecordsAroundOwner(context.Context, *api.ListLeaderboardRecordsAroundOwnerRequest) (*api.LeaderboardRecordList, error)
func (UnimplementedNakamaServer) ListMatches ¶
func (UnimplementedNakamaServer) ListMatches(context.Context, *api.ListMatchesRequest) (*api.MatchList, error)
func (UnimplementedNakamaServer) ListNotifications ¶
func (UnimplementedNakamaServer) ListNotifications(context.Context, *api.ListNotificationsRequest) (*api.NotificationList, error)
func (UnimplementedNakamaServer) ListStorageObjects ¶
func (UnimplementedNakamaServer) ListStorageObjects(context.Context, *api.ListStorageObjectsRequest) (*api.StorageObjectList, error)
func (UnimplementedNakamaServer) ListSubscriptions ¶ added in v3.13.0
func (UnimplementedNakamaServer) ListSubscriptions(context.Context, *api.ListSubscriptionsRequest) (*api.SubscriptionList, error)
func (UnimplementedNakamaServer) ListTournamentRecords ¶
func (UnimplementedNakamaServer) ListTournamentRecords(context.Context, *api.ListTournamentRecordsRequest) (*api.TournamentRecordList, error)
func (UnimplementedNakamaServer) ListTournamentRecordsAroundOwner ¶
func (UnimplementedNakamaServer) ListTournamentRecordsAroundOwner(context.Context, *api.ListTournamentRecordsAroundOwnerRequest) (*api.TournamentRecordList, error)
func (UnimplementedNakamaServer) ListTournaments ¶
func (UnimplementedNakamaServer) ListTournaments(context.Context, *api.ListTournamentsRequest) (*api.TournamentList, error)
func (UnimplementedNakamaServer) ListUserGroups ¶
func (UnimplementedNakamaServer) ListUserGroups(context.Context, *api.ListUserGroupsRequest) (*api.UserGroupList, error)
func (UnimplementedNakamaServer) PromoteGroupUsers ¶
func (UnimplementedNakamaServer) PromoteGroupUsers(context.Context, *api.PromoteGroupUsersRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) ReadStorageObjects ¶
func (UnimplementedNakamaServer) ReadStorageObjects(context.Context, *api.ReadStorageObjectsRequest) (*api.StorageObjects, error)
func (UnimplementedNakamaServer) SessionLogout ¶ added in v3.2.0
func (UnimplementedNakamaServer) SessionLogout(context.Context, *api.SessionLogoutRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) SessionRefresh ¶
func (UnimplementedNakamaServer) SessionRefresh(context.Context, *api.SessionRefreshRequest) (*api.Session, error)
func (UnimplementedNakamaServer) UnlinkApple ¶
func (UnimplementedNakamaServer) UnlinkApple(context.Context, *api.AccountApple) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) UnlinkCustom ¶
func (UnimplementedNakamaServer) UnlinkCustom(context.Context, *api.AccountCustom) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) UnlinkDevice ¶
func (UnimplementedNakamaServer) UnlinkDevice(context.Context, *api.AccountDevice) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) UnlinkEmail ¶
func (UnimplementedNakamaServer) UnlinkEmail(context.Context, *api.AccountEmail) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) UnlinkFacebook ¶
func (UnimplementedNakamaServer) UnlinkFacebook(context.Context, *api.AccountFacebook) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) UnlinkFacebookInstantGame ¶
func (UnimplementedNakamaServer) UnlinkFacebookInstantGame(context.Context, *api.AccountFacebookInstantGame) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) UnlinkGameCenter ¶
func (UnimplementedNakamaServer) UnlinkGameCenter(context.Context, *api.AccountGameCenter) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) UnlinkGoogle ¶
func (UnimplementedNakamaServer) UnlinkGoogle(context.Context, *api.AccountGoogle) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) UnlinkSteam ¶
func (UnimplementedNakamaServer) UnlinkSteam(context.Context, *api.AccountSteam) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) UpdateAccount ¶
func (UnimplementedNakamaServer) UpdateAccount(context.Context, *api.UpdateAccountRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) UpdateGroup ¶
func (UnimplementedNakamaServer) UpdateGroup(context.Context, *api.UpdateGroupRequest) (*emptypb.Empty, error)
func (UnimplementedNakamaServer) ValidatePurchaseApple ¶ added in v3.2.0
func (UnimplementedNakamaServer) ValidatePurchaseApple(context.Context, *api.ValidatePurchaseAppleRequest) (*api.ValidatePurchaseResponse, error)
func (UnimplementedNakamaServer) ValidatePurchaseFacebookInstant ¶ added in v3.19.0
func (UnimplementedNakamaServer) ValidatePurchaseFacebookInstant(context.Context, *api.ValidatePurchaseFacebookInstantRequest) (*api.ValidatePurchaseResponse, error)
func (UnimplementedNakamaServer) ValidatePurchaseGoogle ¶ added in v3.2.0
func (UnimplementedNakamaServer) ValidatePurchaseGoogle(context.Context, *api.ValidatePurchaseGoogleRequest) (*api.ValidatePurchaseResponse, error)
func (UnimplementedNakamaServer) ValidatePurchaseHuawei ¶ added in v3.2.0
func (UnimplementedNakamaServer) ValidatePurchaseHuawei(context.Context, *api.ValidatePurchaseHuaweiRequest) (*api.ValidatePurchaseResponse, error)
func (UnimplementedNakamaServer) ValidateSubscriptionApple ¶ added in v3.13.0
func (UnimplementedNakamaServer) ValidateSubscriptionApple(context.Context, *api.ValidateSubscriptionAppleRequest) (*api.ValidateSubscriptionResponse, error)
func (UnimplementedNakamaServer) ValidateSubscriptionGoogle ¶ added in v3.13.0
func (UnimplementedNakamaServer) ValidateSubscriptionGoogle(context.Context, *api.ValidateSubscriptionGoogleRequest) (*api.ValidateSubscriptionResponse, error)
func (UnimplementedNakamaServer) WriteLeaderboardRecord ¶
func (UnimplementedNakamaServer) WriteLeaderboardRecord(context.Context, *api.WriteLeaderboardRecordRequest) (*api.LeaderboardRecord, error)
func (UnimplementedNakamaServer) WriteStorageObjects ¶
func (UnimplementedNakamaServer) WriteStorageObjects(context.Context, *api.WriteStorageObjectsRequest) (*api.StorageObjectAcks, error)
func (UnimplementedNakamaServer) WriteTournamentRecord ¶
func (UnimplementedNakamaServer) WriteTournamentRecord(context.Context, *api.WriteTournamentRecordRequest) (*api.LeaderboardRecord, error)
type UnsafeNakamaServer ¶
type UnsafeNakamaServer interface {
// contains filtered or unexported methods
}
UnsafeNakamaServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NakamaServer will result in compilation errors.