Versions in this module Expand all Collapse all v0 v0.3.1 Dec 25, 2021 v0.3.0 Dec 24, 2021 Changes in this version + var ErrBeatmapNotFound = errors.New("map not found") + var ErrMapsetNotFound = errors.New("mapset not found") + type Chimu struct + Options Options + func (c *Chimu) SetMode(mode Mode) + func (c *Chimu) SetStatus(status Status) + func (c Chimu) GetMapset(id int) (Mapset, error) + func (c Chimu) GetMapsetData(id int) (*http.Response, error) + func (c Chimu) GetMapsetFromMap(id int) (Mapset, error) + func (c Chimu) Search(query string) ([]Mapset, error) + type Kitsu struct + Options Options + func (k *Kitsu) SetMode(mode Mode) + func (k *Kitsu) SetStatus(status Status) + func (k Kitsu) GetMapset(id int) (Mapset, error) + func (k Kitsu) GetMapsetData(id int) (*http.Response, error) + func (k Kitsu) GetMapsetFromMap(id int) (Mapset, error) + func (k Kitsu) Search(query string) ([]Mapset, error) + type Mapset struct + Artist string + Mapper string + SetID int + Status int + Title string + type Mirror interface + GetMapset func(id int) (Mapset, error) + GetMapsetData func(id int) (*http.Response, error) + GetMapsetFromMap func(id int) (Mapset, error) + Search func(query string) ([]Mapset, error) + SetMode func(mode Mode) + SetStatus func(status Status) + type Mode int + const ModeAny + const ModeCatch + const ModeMania + const ModeStandard + const ModeTaiko + func (m Mode) String() string + type Options struct + MaxResults int + Mode Mode + NoVideo bool + Status Status + type Status int + const StatusAny + const StatusApproved + const StatusGraveyard + const StatusLoved + const StatusPending + const StatusQualified + const StatusRanked + const StatusWIP + func (s Status) String() string