config

package
v0.0.0-...-68d433b Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config struct {
		Hostname string `koanf:"hostname"`
		TLSPath  string `koanf:"tls_path"`

		API struct {
			Host        string `koanf:"host"`
			Port        int    `koanf:"port"`
			BehindProxy bool   `koanf:"behind_proxy"`
		} `koanf:"api"`

		Database struct {
			URL string `koanf:"url"`
		} `koanf:"database"`
	}
)

Functions

func Load

func Load(configPath string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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