config

package
v0.0.0-...-c5bb8df Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 4 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 {
	DbHost     string `toml:"db_host"`
	DbPort     string `toml:"db_port"`
	DbUser     string `toml:"db_user"`
	DbPassword string `toml:"db_password"`
	DbName     string `toml:"db_name"`

	//Logging
	LogLevel string `toml:"log_level"`

	HTTPAddr string `toml:"bind_addr"`
}

func MustLoad

func MustLoad() *Config

func MustLoadPath

func MustLoadPath(configPath string) *Config

Jump to

Keyboard shortcuts

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