environment

package
v0.0.0-...-da86336 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 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 DatabaseEnvironment

type DatabaseEnvironment struct {
	DBHost     string `env:"DB_HOST,required" envDefault:"localhost:5432"`
	DBUser     string `env:"DB_USER,required" envDefault:"user"`
	DBPassword string `env:"DB_PASSWORD,required" envDefault:"password"`
	DBDatabase string `env:"DB_DATABASE,required" envDefault:"vspo"`
	DBSSLMode  string `env:"DB_SSL_MODE,required" envDefault:"disable"`
}

type ServerEnvironment

type ServerEnvironment struct {
	ENV         string `env:"ENV,required" envDefault:"local"`
	LogLevel    string `env:"LOG_LEVEL,required" envDefault:"debug"`
	CRON_SECRET string `env:"CRON_SECRET,required" envDefault:"xxx"`
	DD_AGENT    string `env:"DD_AGENT,required" envDefault:"datadog-agent"`
	DD_PORT     string `env:"DD_PORT,required" envDefault:"8126"`
}

type TwitcastingEnvironment

type TwitcastingEnvironment struct {
	TwitcastingAccessToken string `env:"TWITCASTING_ACCESS_TOKEN,required" envDefault:"xxx"`
}

type TwitchEnvironment

type TwitchEnvironment struct {
	TwitchClientID     string `env:"TWITCH_CLIENT_ID,required" envDefault:"xxx"`
	TwitchClientSecret string `env:"TWITCH_CLIENT_SECRET,required" envDefault:"xxx"`
}

type YoutubeEnvironment

type YoutubeEnvironment struct {
	YoutubeAPIKey string `env:"YOUTUBE_API_KEY,required" envDefault:"xxx"`
}

Jump to

Keyboard shortcuts

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