config

package
v0.0.0-...-b0c12f8 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Envs

type Envs struct {
	App      app
	Infra    infra
	Telegram Telegram
}

func Load

func Load() Envs

type Telegram

type Telegram struct {
	Token              string `envconfig:"BOT_TOKEN"`
	WebhookListenUrl   string `envconfig:"WEBHOOK_URL"`
	WebhookUriPathBase string `envconfig:"WEBHOOK_PATH_BASE"`
	WebhookUserID      int64  `envconfig:"WEBHOOK_USER_ID"`
	SecretToken        string `envconfig:"SECRET_TOKEN"`
}

Jump to

Keyboard shortcuts

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