Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { VidoFilesBucket string `env:"VIDEO_FILES_BUCKET"` YoutubeDlPath string `env:"YOUTUBE_DL_PATH" envDefault:"yt-dlp"` VideoSavedTopic string `env:"VIDEO_SAVED_TOPIC"` DownloaderCookies string `env:"DOWNLOADER_COOKIES"` ProjectId string `env:"PROJECT_ID"` Port int `env:"PORT" envDefault:"8080"` ServiceName string `env:"SERVICE_NAME" envDefault:"downloader"` DebguMode bool `env:"DEBUG_MODE"` }
func GetEnvVars ¶
func GetEnvVars() Config
Click to show internal directories.
Click to hide internal directories.