Documentation ¶
Index ¶
- type PartyDB
- func (p *PartyDB) CreateParty(name string, host string, oath int64) (int, error)
- func (p *PartyDB) CreateQueue(partyID int, playlistlnk string) error
- func (p *PartyDB) GetInvitelink(partyID int) (string, error)
- func (p *PartyDB) GetPartyID(invitecode string) (int, error)
- func (p *PartyDB) GetPlaylist(partyID int) (string, error)
- func (p *PartyDB) Getoath(partyID int) (*oauth2.Token, error)
- func (p *PartyDB) SaveToken(tok *oauth2.Token) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PartyDB ¶
type PartyDB struct {
// contains filtered or unexported fields
}
func NewPartyDB ¶
func NewPartyDB() *PartyDB
func (*PartyDB) CreateParty ¶
Click to show internal directories.
Click to hide internal directories.