package
Version:
v3.0.0+incompatible
Opens a new window with list of versions in this module.
Published: Apr 3, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func InitConfigFactory(f string)
TODO: Support configuration update from REST api
type Config struct {
Info *Info `yaml:"info"`
Configuration *Configuration `yaml:"configuration"`
}
type Configuration struct {
Sbi *Sbi `yaml:"sbi"`
Mongodb *Mongodb `yaml:"mongodb"`
NrfUri string `yaml:"nrfUri"`
}
type Info struct {
Version string `yaml:"version,omitempty"`
Description string `yaml:"description,omitempty"`
}
type Mongodb struct {
Name string `yaml:"name"`
Url string `yaml:"url"`
}
type Sbi struct {
Scheme string `yaml:"scheme"`
IPv4Addr string `yaml:"ipv4Addr"`
Port int `yaml:"port"`
Tls *Tls `yaml:"tls,omitempty"`
}
type Tls struct {
Log string `yaml:"log"`
Pem string `yaml:"pem"`
Key string `yaml:"key"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.