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 {
	TelegramToken          string `env:"TELEGRAM_BOT_TOKEN"`
	VidoFilesBucket        string `env:"VIDEO_FILES_BUCKET"`
	VideoUrlPublishedTopic string `env:"VIDEO_URL_PUBLISHED_TOPIC"`

	ProjectId   string `env:"PROJECT_ID"`
	Port        int    `env:"PORT" envDefault:"8080"`
	ServiceName string `env:"SERVICE_NAME" envDefault:"bot"`

	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