Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrConfig = errors.New("configuration error")
)
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { FacilityCode string `mapstructure:"facility"` LogLevel string `mapstructure:"log_level"` Endpoints Endpoints `mapstructure:"endpoints"` Dryrun bool `mapstructure:"dryrun"` Concurrency int `mapstructure:"concurrency"` }
func Load ¶
func Load(cfgFilePath, loglevel string) (*Configuration, error)
Click to show internal directories.
Click to hide internal directories.