Documentation ¶
Index ¶
- func Authenticate(ctx context.Context, dbtx db.DBTX, username string, password string) (bool, error)
- func GetTokenID(tokenStr string) (string, error)
- func InsertUser(ctx context.Context, dbtx db.DBTX, username string, displayName string, ...) (newUserID string, err error)
- func UnlinkSpotify(ctx context.Context, dbtx db.DBTX, userID string) error
- func UpdateSpotifyInfo(ctx context.Context, dbtx db.DBTX, userID string, info *service.SpotifyUser) error
- func UpdateSpotifyToken(ctx context.Context, dbtx db.DBTX, userID string, oauthToken *oauth2.Token) error
- type HostedRoom
- type Store
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func GetTokenID ¶
func InsertUser ¶
func UpdateSpotifyInfo ¶
Types ¶
type HostedRoom ¶
Click to show internal directories.
Click to hide internal directories.