Documentation
¶
Index ¶
- func Report(client *Client, phase ReportPhase, song structs.Song, passedTime time.Duration)
- type AuthInvalid
- type Client
- func (c *Client) GetAuthUrlWithToken() (token, url string, err error)
- func (c *Client) GetSession(token string) (sessionKey string, err error)
- func (c *Client) GetUserInfo(args map[string]any) (lastfmgo.UserGetInfo, error)
- func (c *Client) Scrobble(args map[string]any) error
- func (c *Client) SetSession(session string)
- func (c *Client) UpdateNowPlaying(args map[string]any) error
- type ReportPhase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthInvalid ¶
type AuthInvalid struct {
// contains filtered or unexported fields
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetAuthUrlWithToken ¶
func (*Client) GetSession ¶
func (*Client) GetUserInfo ¶
func (*Client) SetSession ¶
type ReportPhase ¶
type ReportPhase uint8
const ( ReportPhaseStart ReportPhase = iota ReportPhaseComplete )
Click to show internal directories.
Click to hide internal directories.