Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig() error
Types ¶
type AuthConfig ¶
type AuthConfig struct {
LDAP *LDAPConfig
}
type Config ¶
type Config struct {
Authentication AuthConfig
NetBox struct {
URL string
APIKey string
DatacenterFilterKey Filter
LimitPerPage int
}
Log struct {
Level string
Pretty bool
}
Datacenter string
API struct {
ListenAddress string
ListenPort int
}
Build struct {
Interval time.Duration
AllDevicesMustBuild bool
}
Debug struct {
Pprof struct {
Enabled bool
}
}
}
var (
Cfg Config
)
Click to show internal directories.
Click to hide internal directories.