config

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth added in v0.0.2

type Auth struct {
	Username string `koanf:"username"`
	Password string `koanf:"password"`
}

type Config

type Config struct {
	Debug    bool      `koanf:"debug"`
	Auth     Auth      `koanf:"auth"`
	Database db.Config `koanf:"database"`
}

func Default

func Default() Config

func New

func New() Config

Jump to

Keyboard shortcuts

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