config

package
v0.0.0-...-72a7257 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

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