package
Version:
v0.0.0-...-cad1217
Opens a new window with list of versions in this module.
Published: Feb 25, 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 {
UdmName string `yaml:"udmName,omitempty"`
Sbi *Sbi `yaml:"sbi,omitempty"`
ServiceNameList []string `yaml:"serviceNameList,omitempty"`
Udrclient *Udrclient `yaml:"udrclient,omitempty"`
Nrfclient *Nrfclient `yaml:"nrfclient,omitempty"`
}
type Info struct {
Version string `yaml:"version,omitempty"`
Description string `yaml:"description,omitempty"`
}
type Nrfclient struct {
Scheme string `yaml:"scheme"`
Ipv4Adrr string `yaml:"ipv4Adrr,omitempty"`
Port int `yaml:"port,omitempty"`
}
type Sbi struct {
Scheme string `yaml:"scheme"`
IPv4Addr string `yaml:"ipv4Addr,omitempty"`
Port int `yaml:"port,omitempty"`
Tls *Tls `yaml:"tls,omitempty"`
}
type Tls struct {
Log string `yaml:"log,omitempty"`
Pem string `yaml:"pem,omitempty"`
Key string `yaml:"key,omitempty"`
}
type Udrclient struct {
Scheme string `yaml:"scheme"`
Ipv4Adrr string `yaml:"ipv4Adrr,omitempty"`
Port int `yaml:"port,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.