package
Version:
v2.24.2
Opens a new window with list of versions in this module.
Published: Sep 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
func Load(config interface{}) error
Load loads config from ENV config or arguments config.
func Parse(data []byte, config interface{}) error
Parse parse bytes to config
Read reads config from file.
func ToString(config interface{}) string
ToString returns string representation of Config
type ConfigPath struct {
ConfigPath string `long:"config" description:"yaml config file path"`
}
type Validator interface {
Validate() error
}
Source Files
¶
Directories
¶
|
|
property
|
|
|
|
Click to show internal directories.
Click to hide internal directories.