Documentation
¶
Index ¶
- Variables
- func DiffInDays(d1, d2 time.Time) float64
- func ExportCookies(cookies []*http.Cookie)
- func ImportCookies() (cookies []*http.Cookie)
- func ParseDate(date string) time.Time
- type Battle
- type CFN
- type Character
- type Profile
- func (p Profile) GetAccountAge() string
- func (p Profile) GetBattleLoungeMatchesLosses() int
- func (p Profile) GetBattleLoungeMatchesRatio() float32
- func (p Profile) GetBattleLoungeMatchesTotal() int
- func (p Profile) GetBattleLoungeMatchesWins() int
- func (p Profile) GetCasualMatchesLosses() int
- func (p Profile) GetCasualMatchesRatio() float32
- func (p Profile) GetCasualMatchesTotal() int
- func (p Profile) GetCasualMatchesWins() int
- func (p Profile) GetCharacterLevel() int
- func (p Profile) GetCharacterName() string
- func (p Profile) GetDevice() string
- func (p Profile) GetDojo() string
- func (p Profile) GetFighterId() string
- func (p Profile) GetFirstMatch() string
- func (p Profile) GetLeague() string
- func (p Profile) GetLeaguePoints() int
- func (p Profile) GetMostRecentMatch() string
- func (p Profile) GetPlayerLevel() int
- func (p Profile) GetRankedMatchesLosses() int
- func (p Profile) GetRankedMatchesRatio() float32
- func (p Profile) GetRankedMatchesTotal() int
- func (p Profile) GetRankedMatchesWins() int
- func (p Profile) GetRanking() int
- func (p Profile) GetRegion() string
- func (p Profile) GetStatus() string
- func (p Profile) GetTitle() string
- func (p Profile) GetTotalMatches() int
- func (p Profile) GetTwitter() string
- func (p Profile) ToJSON() (response []byte)
- type Serialized
Constants ¶
This section is empty.
Variables ¶
View Source
var Leagues = map[string]string{
"0": "Rookie",
"1": "Bronze",
"2": "Super Bronze",
"3": "Ultra Bronze",
"4": "Silver",
"5": "Super Silver",
"6": "Ultra Silver",
"7": "Gold",
"8": "Super Gold",
"9": "Ultra Gold",
"10": "Platinum",
"11": "Super Platinum",
"12": "Ultra Platinum",
"13": "Diamond",
"14": "Super Diamond",
"15": "Ultra Diamond",
"16": "Master",
"17": "Grand Master",
"18": "Ultimate Grand Master",
"19": "Warlord",
}
Functions ¶
func DiffInDays ¶
func ExportCookies ¶
func ImportCookies ¶
Types ¶
type Profile ¶
type Profile struct {
// contains filtered or unexported fields
}
func (Profile) GetAccountAge ¶
func (Profile) GetBattleLoungeMatchesLosses ¶
func (Profile) GetBattleLoungeMatchesRatio ¶
func (Profile) GetBattleLoungeMatchesTotal ¶
func (Profile) GetBattleLoungeMatchesWins ¶
func (Profile) GetCasualMatchesLosses ¶
func (Profile) GetCasualMatchesRatio ¶
func (Profile) GetCasualMatchesTotal ¶
func (Profile) GetCasualMatchesWins ¶
func (Profile) GetCharacterLevel ¶
func (Profile) GetCharacterName ¶
func (Profile) GetFighterId ¶
func (Profile) GetFirstMatch ¶
func (Profile) GetLeaguePoints ¶
func (Profile) GetMostRecentMatch ¶
func (Profile) GetPlayerLevel ¶
func (Profile) GetRankedMatchesLosses ¶
func (Profile) GetRankedMatchesRatio ¶
func (Profile) GetRankedMatchesTotal ¶
func (Profile) GetRankedMatchesWins ¶
func (Profile) GetRanking ¶
func (Profile) GetTotalMatches ¶
func (Profile) GetTwitter ¶
type Serialized ¶
type Serialized struct { Id string `json:"id"` Region string `json:"region"` Device string `json:"device"` Status string `json:"status"` Title string `json:"title"` Dojo string `json:"dojo"` Twitter string `json:"twitter"` Level int `json:"level"` AccountAge string `json:"account_age"` TotalMatches int `json:"total_matches"` Character Character `json:"character"` League string `json:"league"` LeaguePoints int `json:"league_points"` Ranking int `json:"ranking"` FirstMatch string `json:"first_match"` MostRecentMatch string `json:"most_recent_match"` Ranked Battle `json:"ranked"` Casual Battle `json:"casual"` Lounge Battle `json:"lounge"` }
Click to show internal directories.
Click to hide internal directories.