configuration

package
v2.0.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(config interface{}, opts ...Option) (err error)

Types

type Option

type Option func(*koanf.Koanf) error

func WithConfigFile

func WithConfigFile(path string, parser koanf.Parser) Option

func WithProvider

func WithProvider(provider koanf.Provider, parser koanf.Parser) Option

Jump to

Keyboard shortcuts

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