types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SongMeta

type SongMeta struct {
	Playing    bool
	Track      string `json:"track"`
	Artist     string `json:"artist"`
	Source     string `json:"source,omitempty"`
	Url        string `json:"url,omitempty"`
	Scrobble   bool   `json:"scrobble,omitempty"`
	AlbumArt   string `json:"album_art,omitempty"`
	Mbid       string `json:"mbid,omitempty"`
	ArtistMbid string `json:"artist_mbid,omitempty"`
	Position   int64
	IsRepeat   bool `json:"is_repeat"`
}

type UserAuthGrant

type UserAuthGrant struct {
	Token string `json:"token"`
}

type UserInstance

type UserInstance struct {
	Username string `json:"username"`
	Token    string `json:"token"`
	Host     string `json:"host"`
}

type UserLoginRequest

type UserLoginRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type UserRegisterRequest

type UserRegisterRequest struct {
	Username   string `json:"username"`
	Password   string `json:"password"`
	TelegramId int    `json:"telegram_id"`
}

Jump to

Keyboard shortcuts

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