config

package
v0.0.0-...-6083769 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadEnv

func LoadEnv(k *koanf.Koanf)

Types

type Config

type Config struct {
	LDAP ldap.Config `koanf:"ldap"`
}

Config holds all configurations.

func Default

func Default() Config

Default return default configuration.

func New

func New() *Config

New reads configuration with koanf.

Jump to

Keyboard shortcuts

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