Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface {
Parse(any) error
Get(string) any
GetBool(string) bool
GetString(string) string
GetInt(string) int
}
Config interface determines the common methods for parsing configuration from specified resources
type StaticConfig ¶
type StaticConfig interface {
// LoadAndSet load config from anywhere and set to conf struct
LoadAndSet(conf interface{}) error
}
StaticConfig the config that do not update after application run Deprecated: suggested use Config instead
Click to show internal directories.
Click to hide internal directories.