options

package
v0.5.35 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config func(k *koanf.Koanf)

func ConfigStruct

func ConfigStruct(s *config.Settings) Config

func ConfigValue

func ConfigValue(key string, value any) Config

func (Config) Apply

func (c Config) Apply(k *koanf.Koanf)

type ConfigMap

type ConfigMap map[string]any

func (ConfigMap) Apply

func (m ConfigMap) Apply(k *koanf.Koanf)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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