configure

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binder added in v1.2.0

type Binder interface {
	SetConfig(c []byte) error
	Get(path string) any
	Set(path string, val any)
	PropInject(properties []*meta.Node) error
}

type Configure

type Configure interface {
	Binder
	AddLoaders(loaders ...Loader)
	SetLoaders(loaders ...Loader)
	SetBinder(binder Binder)
	Initialize(metas ...*meta.Meta) error
	Populate(metas ...*meta.Meta) error
}

func Default added in v1.4.0

func Default() Configure

func NewConfigure

func NewConfigure() Configure

type Loader added in v1.2.0

type Loader interface {
	LoadConfig() ([]byte, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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