config

package
v0.0.0-...-c1d5c34 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadValues

func LoadValues(k *koanf.Koanf) error

Types

type Config

type Config struct {
	HTTP *http.Config `koanf:"http"`
	JWT  *jwt.Config  `koanf:"jwt"`
	DB   *db.Config   `koanf:"db"`
}

func Load

func Load() (*Config, error)

Jump to

Keyboard shortcuts

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