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: 5
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,omitempty"`
ServiceNameList []string `yaml:"serviceNameList,omitempty"`
NrfUri string `yaml:"nrfUri,omitempty"`
PlmnSupportList []models.PlmnId `yaml:"plmnSupportList,omitempty"`
GroupId string `yaml:"groupId,omitempty"`
}
type Info struct {
Version string `yaml:"version,omitempty"`
Description string `yaml:"description,omitempty"`
}
type Sbi struct {
Scheme string `yaml:"scheme"`
IPv4Addr string `yaml:"ipv4Addr,omitempty"`
Port int `yaml:"port,omitempty"`
}
type Security struct {
IntegrityOrder []string `yaml:"integrityOrder,omitempty"`
CipheringOrder []string `yaml:"cipheringOrder,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.