config

package
v0.0.0-...-93f7374 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(_ context.Context) error

Types

type DBConfig

type DBConfig interface {
	DSN() string
}

DBConfig ...

func GetDBConfig

func GetDBConfig(isStgEnv bool) (DBConfig, error)

GetDBConfig ...

type TelegramBotConfig

type TelegramBotConfig interface {
	TelegramToken() string
	Offset() int
	Timeout() int
}

TelegramBotConfig ...

func GetTelegramBotConfig

func GetTelegramBotConfig(isStgEnv bool) (TelegramBotConfig, error)

GetTelegramBotConfig ...

Jump to

Keyboard shortcuts

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