config

package
v0.0.0-...-15b0c83 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 4 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 {
	// contains filtered or unexported fields
}

func LoadConfig

func LoadConfig(filename string) (*Config, error)

func MustLoadFile

func MustLoadFile(filename string) *Config

func (*Config) Read

func (s *Config) Read(k string, v interface{}) error

func (*Config) ReadWithRefresh

func (s *Config) ReadWithRefresh(k string, v interface{}) error

func (*Config) Viper

func (s *Config) Viper() *viper.Viper

Jump to

Keyboard shortcuts

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