users

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	TwitchID            string     `column:"id"`
	TwitchAccessToken   string     `column:"twitch_access"`
	TwitchRefreshToken  string     `column:"twitch_refresh"`
	SpotifyAccessToken  string     `column:"spotify_access"`
	SpotifyRefreshToken string     `column:"spotify_refresh"`
	SpotifyExpiry       *time.Time `column:"spotify_expiry"`
	Subscribed          bool       `column:"subscribed"`
	SubscriptionID      string     `column:"subscription_id"`
	Email               string     `column:"email"`
}

func (*User) IsAuthenticated

func (u *User) IsAuthenticated() bool

Jump to

Keyboard shortcuts

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