Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
General GeneralConfig `koanf:"general"`
DNS DNSConfig `koanf:"dns"`
HTTP HTTPConfig `koanf:"http"`
HTTPS HTTPSConfig `koanf:"https"`
}
type GeneralConfig ¶
type HTTPConfig ¶
type HTTPSConfig ¶
type LoadResult ¶
func LoadOrCreate ¶
func LoadOrCreate(configPath string) (LoadResult, error)
Click to show internal directories.
Click to hide internal directories.