config

package
v0.0.0-...-2a0956d Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var C = Config{}

Functions

func ParseConfig

func ParseConfig(filePath string)

Types

type Config

type Config struct {
	ENV        string            `toml:"ENV" yaml:"env"`
	Debug      bool              `toml:"Debug" yaml:"debug"`
	LogLevel   string            `toml:"LogLevel" yaml:"log_level"`
	HTTPClient httpclient.Config `toml:"HTTPClient" yaml:"http_client"`
	Database   db.Config         `toml:"Database" yaml:"database"`
	Vaccine    vaccine.Config    `toml:"Vaccine" yaml:"vaccine"`
}

Jump to

Keyboard shortcuts

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