recent

package
v0.0.0-...-5f40abb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeatmapEvent

type BeatmapEvent struct {
	CreatedAt string `json:"created_at"`
	Id        int    `json:"id"`
	Type      string `json:"type"`
	Title     string `json:"title"`
	URL       string `json:"url"`
}

type Event

type Event struct {
	CreatedAt string `json:"created_at"`
	Id        int    `json:"id"`
	Type      string `json:"type"`
}

type RankEvent

type RankEvent struct {
	CreatedAt string `json:"created_at"`
	Id        int    `json:"id"`
	Type      string `json:"type"`
	// TODO: FIX WHEN PEPPY FIXES
	ScoreRank string       `json:"scoreRank"`
	Rank      int          `json:"rank"`
	Mode      string       `json:"mode"`
	Beatmap   BeatmapEvent `json:"Beatmap"`
	User      UserEvent    `json:"User"`
}

type Score

type Score struct {
	Id         int                          `json:"id"`
	BestId     int                          `json:"best_id"`
	UserId     int                          `json:"user_id"`
	Accuracy   float64                      `json:"accuracy"`
	Mods       []string                     `json:"mods"`
	Score      int                          `json:"score"`
	MaxCombo   int                          `json:"max_combo"`
	Perfect    bool                         `json:"perfect"`
	Passed     bool                         `json:"passed"`
	Pp         float64                      `json:"pp"`
	Rank       string                       `json:"rank"`
	CreatedAt  string                       `json:"created_at"`
	Mode       string                       `json:"mode"`
	ModeInt    int                          `json:"mode_int"`
	Replay     bool                         `json:"replay"`
	Beatmap    beatmap.Beatmap              `json:"beatmap"`
	BeatmapSet beatmapset.BeatmapsetCompact `json:"beatmapset"`
	Weight     int                          `json:"weight"`
	User       user.User                    `json:"user"`
}

type UserEvent

type UserEvent struct {
	CreatedAt string `json:"created_at"`
	Id        int    `json:"id"`
	Type      string `json:"type"`
	Username  string `json:"username"`
	URL       string `json:"url"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL