config

package
v0.0.0-...-250b907 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 7 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 {
	// contains filtered or unexported fields
}

func Load

func Load() *Config

func (*Config) BotName

func (c *Config) BotName() string

func (*Config) DBConn

func (c *Config) DBConn() *db.Postgres

func (*Config) Domain

func (c *Config) Domain() string

func (*Config) DownloadRetries

func (c *Config) DownloadRetries() int

func (*Config) Port

func (c *Config) Port() string

func (*Config) QueueWorkers

func (c *Config) QueueWorkers() int

func (*Config) SecretKey

func (c *Config) SecretKey() string

func (*Config) TelegramToken

func (c *Config) TelegramToken() string

Jump to

Keyboard shortcuts

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