config

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module added in v1.1.0

func Module() fx.Option

Types

type Config

type Config struct {
	HTTP      http            `koanf:"http"`
	Telegram  telegramConfig  `koanf:"telegram"`
	Storage   storageConfig   `koanf:"storage"`
	Heartbeat heartbeatConfig `koanf:"heartbeat"`
}

func Default added in v1.4.0

func Default() Config

func New added in v1.4.0

func New() (Config, error)

type TelegramMessages added in v1.1.0

type TelegramMessages map[string]string

Jump to

Keyboard shortcuts

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