Versions in this module Expand all Collapse all v0 v0.3.3 Dec 16, 2023 v0.3.2 Nov 7, 2023 v0.3.1 Nov 1, 2023 v0.3.0 Nov 1, 2023 v0.2.8 Sep 11, 2023 v0.2.7 Sep 1, 2023 v0.2.6 Sep 1, 2023 v0.2.5 Aug 18, 2023 v0.2.4 Aug 18, 2023 v0.2.3 Jul 27, 2023 v0.2.2 Jul 17, 2023 v0.2.1 Jul 17, 2023 v0.2.0 Jun 2, 2023 v0.1.9 Jun 2, 2023 Changes in this version + type Account struct + func NewAccount(token string) *Account + func (a *Account) ChangeAccount(email string, password string, url string, mode string) error + func (a *Account) DeleteAccount(url string, mode string) error + func (a *Account) DeleteFriend(url string, mode string) error + func (a *Account) Disable(url string, mode string) error + func (a *Account) Enable(url string, mode string) error + func (a *Account) GetAccountBanList(apiUrl string, UserID string, UserName string, Offset int, Limit int, ...) ([]BanPlayer, error) + func (a *Account) GetAccountDetail(id string, url string, mode string) (AccountInfo, error) + func (a *Account) GetAccountList(apiUrl string, filter string, cursor string, mode string) (Accounts, error) + func (a *Account) GetFriends(url string, mode string) (FriendResponse, error) + func (a *Account) Unlink(url string, mode string) error + func (a *Account) UpdateAccount(id string, params []byte, url string, mode string) (string, error) + type AccountData struct + CustomID string + Devices []any + DisableTime string + Email string + User User + VerifyTime any + Wallet string + type AccountInfo struct + Account AccountData + DisableTime any + type Accounts struct + NextCursor string + TotalCount int + Users []User + type BanPlayer struct + AvatarURL string + CreateTime CreateTime + DisplayName string + EdgeCount int + ID string + LangTag string + Metadata string + SteamID string + UpdateTime UpdateTime + Username string + type Count struct + func NewCount(token string) *Count + func (a *Count) GetGameServerInfo(apiUrl string, mode string) (CountResponse, error) + type CountResponse struct + Nodes []Node + Timestamp time.Time + type CreateTime struct + Seconds int + type Encoder struct + type FriendResponse struct + Cursor string + Friends []Friends + type Friends struct + State int + UpdateTime time.Time + User User + type Headers struct + Headers map[string]string + LazyInit LazyInit + LazyUpdate []LazyUpdate + NormalizedNames NormalizedNames + type LazyInit struct + Headers map[string]string + LazyUpdate any + NormalizedNames NormalizedNames + type LazyUpdate struct + Name string + Op string + Value string + type Leaderboard struct + func NewLeaderboard(token string) *Leaderboard + func (a *Leaderboard) DeleteLeaderboard(url string, mode string) error + func (a *Leaderboard) GetLeaderboardDetail(url string, mode string) (LeaderboardInfo, error) + func (a *Leaderboard) GetLeaderboardList(url string, mode string) (LeaderboardList, error) + func (a *Leaderboard) GetLeaderboardRecord(url string, mode string) (LeaderboardRecord, error) + type LeaderboardInfo struct + Authoritative bool + Category int + CreateTime any + Description string + Duration int + EndActive int + EndTime any + ID string + JoinRequired bool + MaxNumScore int + MaxSize int + Metadata string + Operator int + ResetSchedule string + Size int + SortOrder int + StartActive int + StartTime any + Title string + Tournament bool + type LeaderboardList struct + Leaderboards []LeaderboardInfo + type LeaderboardRecord struct + NextCursor string + OwnerRecords []any + PrevCursor string + Records []Records + type Match struct + func NewMatch(token string) *Match + func (a *Match) GetMatchList(url string, mode string) (MatchList, error) + func (a *Match) GetState(url string, mode string) (MatchState, error) + type MatchList struct + Matches []Matches + type MatchState struct + Presences []Presences + State string + Tick string + type Matches struct + Authoritative bool + HandlerName string + Label string + MatchID string + Size int + TickRate int + type Node struct + AvgInputKbs float64 + AvgLatencyMs float64 + AvgOutputKbs float64 + AvgRateSec float64 + GoroutineCount int + Health int + MatchCount int + Name string + PresenceCount int + SessionCount int + type NormalizedNames struct + type Params struct + CloneFrom any + Encoder Encoder + Map any + Updates any + type Payload struct + Headers Headers + Params Params + type Presences struct + Persistence bool + SessionID string + Status any + UserID string + Username string + type Records struct + CreateTime time.Time + ExpiryTime any + LeaderboardID string + MaxNumScore int + Metadata string + NumScore int + OwnerID string + Rank string + Score string + Subscore string + UpdateTime time.Time + Username string + type UpdateTime struct + Seconds int + type User struct + AppleID string + AvatarURL string + CreateTime time.Time + DisplayName string + EdgeCount int + FacebookID string + FacebookInstantGameID string + GamecenterID string + GoogleID string + ID string + LangTag string + Location string + Metadata string + Online bool + SteamID string + Timezone string + UpdateTime time.Time + Username string