viper

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 5 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 struct {
	Remote     bool
	Watch      bool
	Provider   string
	Endpoint   string
	Path       string
	ConfigType string
}

func (*Config) Build

func (conf *Config) Build() *viper.Viper

func (*Config) Init

func (conf *Config) Init()

type Viper

type Viper struct {
	*viper.Viper
	Conf Config
}

func (*Viper) Close

func (v *Viper) Close() error

func (*Viper) Config

func (v *Viper) Config() any

func (*Viper) SetEntity

func (v *Viper) SetEntity()

Jump to

Keyboard shortcuts

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