Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Debug, _ = strconv.ParseBool(getEnv("DEBUG", "false"))
AppHost = getEnv("APP_HOST", "0.0.0.0")
AppMode = os.Getenv("APP_MOD")
WebhookToken = os.Getenv("TELEGRAM_WEBHOOK_TOKEN")
TelegramToken = os.Getenv("TELEGRAM_TOKEN")
BotName = getEnv("BOT_NAME", "spotify_share_bot")
AppSpotifyScope = []string{
"user-read-recently-played",
"user-read-currently-playing",
"user-read-playback-state",
"app-remote-control",
"streaming",
}
ClientId = os.Getenv("CLIENT_ID")
ClientSecret = os.Getenv("CLIENT_SECRET")
RedirectUri = getEnv("REDIRECT_URI", "http://localhost:1323/spotify")
DBRs = getEnv("DB_RS", "")
DBName = getEnv("DB_NAME", "")
DBAuthSource = getEnv("DB_AUTH_SOURCE", "")
DBHost = getEnv("DB_HOST", "")
DBUser = getEnv("DB_USER", "")
DBPass = getEnv("DB_PASS", "")
DBCACERT = getEnv("DB_CACERT", "")
DBAuthenticationDatabase = getEnv("DBAuthenticationDatabase", "admin")
JWTToken = getEnv("JWT_TOKEN", "TEST_TOKEN")
JWTTokenByte = []byte(JWTToken)
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.