binder

package
v1.5.27 Latest Latest
Warning

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

Go to latest
Published: May 20, 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 ViperBinder

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

func NewViperBinder

func NewViperBinder(configType string) *ViperBinder

func (*ViperBinder) Get added in v1.2.20

func (d *ViperBinder) Get(path string) any

func (*ViperBinder) Set added in v1.4.0

func (d *ViperBinder) Set(path string, val any)

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