binder

package
v1.2.19 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExpressionBinder added in v1.2.9

func NewExpressionBinder(configType string) configure.Binder

func NewViperBinder

func NewViperBinder(configType string) configure.Binder

Types

type ExpressionBinder added in v1.2.9

type ExpressionBinder struct {
	*ViperBinder
}

func (*ExpressionBinder) SetConfig added in v1.2.9

func (e *ExpressionBinder) SetConfig(c []byte) error

type ViperBinder

type ViperBinder struct {
	Viper *viper.Viper
	// contains filtered or unexported fields
}

func (*ViperBinder) CompareWith added in v1.2.19

func (d *ViperBinder) CompareWith(newConfig []byte, path string) (bool, error)

func (*ViperBinder) PropInject

func (d *ViperBinder) PropInject(properties []*meta.Node) error

func (*ViperBinder) SetConfig

func (d *ViperBinder) SetConfig(c []byte) error

Jump to

Keyboard shortcuts

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