Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeatmapIN ¶
type BeatmapIN struct {
DifficultyRating float64 `json:"difficulty_rating"`
Id int `json:"id"`
Mode *string `json:"mode"`
Status *string `json:"status"`
TotalLength int `json:"total_length"`
UserId int `json:"user_id"`
Version *string `json:"version"`
Accuracy float64 `json:"accuracy"`
Ar float64 `json:"ar"`
BeatmapsetId int `json:"beatmapset_id"`
Bpm interface{} `json:"bpm"`
Convert *bool `json:"convert"`
CountCircles int `json:"count_circles"`
CountSliders int `json:"count_sliders"`
CountSpinners int `json:"count_spinners"`
Cs float64 `json:"cs"`
DeletedAt *time.Time `json:"deleted_at"`
Drain float64 `json:"drain"`
HitLength int `json:"hit_length"`
IsScoreable *bool `json:"is_scoreable"`
LastUpdated *time.Time `json:"last_updated"`
ModeInt int `json:"mode_int"`
Passcount int `json:"passcount"`
Playcount int `json:"playcount"`
Ranked int `json:"ranked"`
Url *string `json:"url"`
Checksum *string `json:"checksum"`
MaxCombo int `json:"max_combo"`
}
type BeatmapOUT ¶
type BeatmapOUT struct {
DifficultyRating *float64 `json:"difficulty_rating"`
Id *int `json:"id"`
Mode *string `json:"mode"`
Status *string `json:"status"`
TotalLength *int `json:"total_length"`
UserId *int `json:"user_id"`
Version *string `json:"version"`
Accuracy *float64 `json:"accuracy"`
Ar *float64 `json:"ar"`
BeatmapsetId *int `json:"beatmapset_id"`
Bpm *string `json:"bpm"`
Convert *bool `json:"convert"`
CountCircles *int `json:"count_circles"`
CountSliders *int `json:"count_sliders"`
CountSpinners *int `json:"count_spinners"`
Cs *float64 `json:"cs"`
DeletedAt *string `json:"deleted_at"`
Drain *float64 `json:"drain"`
HitLength *int `json:"hit_length"`
IsScoreable *bool `json:"is_scoreable"`
LastUpdated *time.Time `json:"last_updated"`
ModeInt *int `json:"mode_int"`
Passcount *int `json:"passcount"`
Playcount *int `json:"playcount"`
Ranked *int `json:"ranked"`
Url *string `json:"url"`
Checksum *string `json:"checksum"`
MaxCombo *int `json:"max_combo"`
OsuFile string `json:"osu_file"`
}
type BeatmapSetsIN ¶
type BeatmapSetsIN struct {
Artist *string `json:"artist"`
ArtistUnicode *string `json:"artist_unicode"`
Covers *struct {
Cover *string `json:"cover"`
Cover2X *string `json:"cover@2x"`
Card *string `json:"card"`
Card2X *string `json:"card@2x"`
List *string `json:"list"`
List2X *string `json:"list@2x"`
Slimcover *string `json:"slimcover"`
Slimcover2X *string `json:"slimcover@2x"`
} `json:"covers"`
Creator *string `json:"creator"`
FavouriteCount int `json:"favourite_count"`
Hype *struct {
Current *int `json:"current"`
Required *int `json:"required"`
} `json:"hype"`
Id int `json:"id"`
Nsfw bool `json:"nsfw"`
PlayCount int `json:"play_count"`
PreviewUrl *string `json:"preview_url"`
Source *string `json:"source"`
Status *string `json:"status"`
Title *string `json:"title"`
TitleUnicode *string `json:"title_unicode"`
UserId int `json:"user_id"`
Video bool `json:"video"`
Availability *struct {
DownloadDisabled *bool `json:"download_disabled"`
MoreInformation *string `json:"more_information"`
} `json:"availability"`
Bpm float64 `json:"bpm"`
CanBeHyped bool `json:"can_be_hyped"`
DiscussionEnabled bool `json:"discussion_enabled"`
DiscussionLocked bool `json:"discussion_locked"`
IsScoreable bool `json:"is_scoreable"`
LastUpdated *time.Time `json:"last_updated"`
LegacyThreadUrl *string `json:"legacy_thread_url"`
NominationsSummary *struct {
Current int `json:"current"`
Required int `json:"required"`
} `json:"nominations_summary"`
Ranked int `json:"ranked"`
RankedDate *time.Time `json:"ranked_date"`
DeletedAt *time.Time `json:"deleted_at"`
Storyboard bool `json:"storyboard"`
SubmittedDate *time.Time `json:"submitted_date"`
Tags *string `json:"tags"`
HasFavourited bool `json:"has_favourited"`
Beatmaps *[]BeatmapIN `json:"beatmaps"`
Description *struct {
Description *string `json:"description"`
} `json:"description"`
Genre *struct {
Id int `json:"id"`
Name *string `json:"name"`
} `json:"genre"`
Language *struct {
Id int `json:"id"`
Name *string `json:"name"`
} `json:"language"`
Ratings *[]int `json:"ratings"`
RatingsString *[]int `json:"ratings_string"`
User *struct {
AvatarUrl *string `json:"avatar_url"`
CountryCode *string `json:"country_code"`
DefaultGroup *string `json:"default_group"`
Id int `json:"id"`
IsActive bool `json:"is_active"`
IsBot bool `json:"is_bot"`
IsDeleted bool `json:"is_deleted"`
IsOnline bool `json:"is_online"`
IsSupporter bool `json:"is_supporter"`
LastVisit *time.Time `json:"last_visit"`
PmFriendsOnly bool `json:"pm_friends_only"`
ProfileColour *interface{} `json:"profile_colour"`
Username *string `json:"username"`
} `json:"user"`
}
type BeatmapSetsOUT ¶
type BeatmapSetsOUT struct {
Artist *string `json:"artist"`
ArtistUnicode *string `json:"artist_unicode"`
Creator *string `json:"creator"`
FavouriteCount *int `json:"favourite_count"`
Hype struct {
Current *int `json:"current"`
Required *int `json:"required"`
} `json:"hype"`
Id *int `json:"id"`
Nsfw *bool `json:"nsfw"`
PlayCount *int `json:"play_count"`
PreviewUrl *string `json:"preview_url"`
Source *string `json:"source"`
Status *string `json:"status"`
Title *string `json:"title"`
TitleUnicode *string `json:"title_unicode"`
UserId *int `json:"user_id"`
Video *bool `json:"video"`
Availability struct {
DownloadDisabled *bool `json:"download_disabled"`
MoreInformation *string `json:"more_information"`
} `json:"availability"`
Bpm *string `json:"bpm"`
CanBeHyped *bool `json:"can_be_hyped"`
DiscussionEnabled *bool `json:"discussion_enabled"`
DiscussionLocked *bool `json:"discussion_locked"`
IsScoreable *bool `json:"is_scoreable"`
LastUpdated *time.Time `json:"last_updated"`
LegacyThreadUrl *string `json:"legacy_thread_url"`
NominationsSummary struct {
Current *int `json:"current"`
Required *int `json:"required"`
} `json:"nominations_summary"`
Ranked int `json:"ranked"`
RankedDate *time.Time `json:"ranked_date"`
Storyboard *bool `json:"storyboard"`
SubmittedDate *time.Time `json:"submitted_date"`
Tags *string `json:"tags"`
HasFavourited *bool `json:"has_favourited"`
Beatmaps []BeatmapOUT `json:"beatmaps"`
Description struct {
Description *string `json:"description"`
} `json:"description"`
Genre struct {
Id *int `json:"id"`
Name *string `json:"name"`
} `json:"genre"`
Language struct {
Id *int `json:"id"`
Name *string `json:"name"`
} `json:"language"`
RatingsString *string `json:"ratings_string"`
Cache struct {
Video bool `json:"video"`
NoVideo bool `json:"noVideo"`
} `json:"cache"`
}
type BeatmapsetsSearch ¶
type BeatmapsetsSearch struct {
Beatmapsets *[]BeatmapSetsIN `json:"beatmapsets"`
Search *struct {
Sort *string `json:"sort"`
} `json:"search"`
Cursor *struct {
LastUpdate *string `json:"last_update"`
Id *string `json:"_id"`
} `json:"cursor"`
CursorString string `json:"cursor_string"`
RecommendedDifficulty float64 `json:"recommended_difficulty"`
Error *interface{} `json:"error"`
Total int `json:"total"`
}
type CheesegullBeatmap ¶
type CheesegullBeatmap struct {
BeatmapId *int `json:"BeatmapID"`
ParentSetId *int `json:"ParentSetID"`
DiffName *string `json:"DiffName"`
FileMd5 *string `json:"FileMD5"`
Mode *int `json:"Mode"`
Bpm *float64 `json:"BPM"`
Ar *float64 `json:"AR"`
Od *float64 `json:"OD"`
Cs *float64 `json:"CS"`
Hp *float64 `json:"HP"`
TotalLength *int `json:"TotalLength"`
HitLength *int `json:"HitLength"`
Playcount *int `json:"Playcount"`
Passcount *int `json:"Passcount"`
MaxCombo *int `json:"MaxCombo"`
DifficultyRating *float64 `json:"DifficultyRating"`
}
type CheesegullBeatmapSet ¶
type CheesegullBeatmapSet struct {
SetId int `json:"SetID"`
ChildrenBeatmaps []CheesegullBeatmap `json:"ChildrenBeatmaps"`
RankedStatus int `json:"RankedStatus"`
ApprovedDate *string `json:"ApprovedDate"`
LastUpdate *string `json:"LastUpdate"`
LastChecked *string `json:"LastChecked"`
Artist *string `json:"Artist"`
Title *string `json:"Title"`
Creator *string `json:"Creator"`
CreatorId *string `json:"CreatorID"`
Source *string `json:"Source"`
Tags *string `json:"Tags"`
HasVideo *bool `json:"HasVideo"`
Genre *int `json:"Genre"`
Language *int `json:"Language"`
Favourites *int `json:"Favourites"`
}
Click to show internal directories.
Click to hide internal directories.