package
Version:
v0.0.0-...-be570d4
Opens a new window with list of versions in this module.
Published: Dec 14, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Load loads a yaml file into the C configuration struct
type Conf struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Debug bool `yaml:"debug"`
}
Conf holds the configuration structure
C is the main configuration exported
Defaults fills the configuration with some sane defaults
Source Files
¶
Click to show internal directories.
Click to hide internal directories.