config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ViperConfig

type ViperConfig struct {
	// contains filtered or unexported fields
}

func Load

func Load(name string) (*ViperConfig, error)

func (*ViperConfig) Delete

func (c *ViperConfig) Delete(key string) error

func (*ViperConfig) Get

func (c *ViperConfig) Get(key string, value interface{}) error

func (*ViperConfig) IsRegistered

func (c *ViperConfig) IsRegistered(name string) bool

func (*ViperConfig) Register

func (c *ViperConfig) Register(name string) error

func (*ViperConfig) Set

func (c *ViperConfig) Set(key string, value interface{}) error

func (*ViperConfig) UnRegister

func (c *ViperConfig) UnRegister(name string) error

Jump to

Keyboard shortcuts

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