package
0.0.0-20240924130644-c310c2df3264
Repository: https://github.com/dstgo/lobby.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
EntServerToServerInfo converts *ent.Server => LobbyServerInfo.
No description provided by the author
No description provided by the author
No description provided by the author
GetTokenInfo returns token information from context.
LobbyServerToEntServer lobbyapi.Server => *ent.Server.
LobbyServerToServerInfo converts lobbyapi.Server => lobbyapi.Server.
MustGetTokenInfo returns token information from context, panic if err != nil.
SetTokenInfo stores token information into context.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PlatformPS4Official can not be use in api query params.
No description provided by the author
PlatformRail is alias of PlatformWeGame, only serve at ap-east-1.
No description provided by the author
No description provided by the author
PlatformWeGame just a helper name, actually it is not exist.
No description provided by the author
TypeAny 任意类型.
TypeClientHosted 客户端自建.
TypeDedicated 专用服务器.
TypeFriendOnly 仅好友.
TypeOfficial 官方服务器.
TypeSteamClan 群组服务器.
TypeSteamClanOnly 仅群组服.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Context holds all dependent context.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Response it is only used for documentation, use package 'ginx/resp' to build response.
Token represents a jwt token.
TokenClaims is payload info in jwt.
TokenPair represents a jwt token pair composed of access token and refresh token.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
DstSortType represents the sort way of sorting server list.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author