Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKey ¶
func RandStringRunes ¶
Types ¶
type Account ¶
type Account struct {
ID string `json:"id"`
AccountType string `json:"account_type"`
Created string `json:"created"`
Updated string `json:"updated"`
PremiumData int `json:"premium_data"`
Quota int `json:"quota"`
Usage int `json:"usage"`
WarpPlus bool `json:"warp_plus"`
ReferralCount int `json:"referral_count"`
ReferralRenewalCount int `json:"referral_renewal_countdown"`
Role string `json:"role"`
License string `json:"license"`
}
type Response ¶
type Response struct {
ID string `json:"id"`
Type string `json:"type"`
Model string `json:"model"`
Name string `json:"name"`
Key string `json:"key"`
Account Account
Config Config
Token string `json:"token"`
Warp bool `json:"warp_enabled"`
Waitlist bool `json:"waitlist_enabled"`
Created string `json:"created"`
Updated string `json:"updated"`
TOS string `json:"tos"`
Place int `json:"place"`
Locale string `json:"locale"`
Enabled bool `json:"enabled"`
InstallID string `json:"install_id"`
FCMToken string `json:"fcm_token"`
SerialNum string `json:"serial_number"`
}
Click to show internal directories.
Click to hide internal directories.