config

package
v0.0.0-...-3839eb7 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 3 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 DefaultConfig

func DefaultConfig() *Config

func NewConfigFile

func NewConfigFile(file string) *Config

func NewConfigReader

func NewConfigReader(reader io.Reader, cfgType string) *Config

func (*Config) ReadConfig

func (c *Config) ReadConfig() error

func (*Config) SetCfgType

func (c *Config) SetCfgType(t string)

func (*Config) Viper

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

Jump to

Keyboard shortcuts

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