impl

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: MIT Imports: 9 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
}

Config is core of config.

func GetConfigInstance

func GetConfigInstance() *Config

GetConfigInstance get singleton of config.

func (*Config) ConfigInit

func (c *Config) ConfigInit(filePath string) error

ConfigInit read config file.

func (*Config) GetAllConfig

func (c *Config) GetAllConfig(configType interface{}) error

GetAllConfig get all config option.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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