Documentation ¶
Index ¶
Constants ¶
View Source
const ( UDM_DEFAULT_IPV4 = "127.0.0.3" UDM_DEFAULT_PORT = "8000" UDM_DEFAULT_PORT_INT = 8000 )
View Source
const (
UDM_EXPECTED_CONFIG_VERSION = "1.0.0"
)
Variables ¶
This section is empty.
Functions ¶
func CheckConfigVersion ¶
func CheckConfigVersion() error
func InitConfigFactory ¶
TODO: Support configuration update from REST api
Types ¶
type Config ¶
type Config struct { Info *Info `yaml:"info"` Configuration *Configuration `yaml:"configuration"` Logger *logger_util.Logger `yaml:"logger"` }
var UdmConfig Config
func (*Config) GetVersion ¶
type Configuration ¶
type Keys ¶
type Keys struct { UdmProfileAHNPrivateKey string `yaml:"udmProfileAHNPrivateKey,omitempty"` UdmProfileAHNPublicKey string `yaml:"udmProfileAHNPublicKey,omitempty"` UdmProfileBHNPrivateKey string `yaml:"udmProfileBHNPrivateKey,omitempty"` UdmProfileBHNPublicKey string `yaml:"udmProfileBHNPublicKey,omitempty"` }
type Sbi ¶
type Sbi struct { Scheme string `yaml:"scheme"` RegisterIPv4 string `yaml:"registerIPv4,omitempty"` // IP that is registered at NRF. // IPv6Addr string `yaml:"ipv6Addr,omitempty"` BindingIPv4 string `yaml:"bindingIPv4,omitempty"` // IP used to run the server in the node. Port int `yaml:"port,omitempty"` Tls *Tls `yaml:"tls,omitempty"` }
Click to show internal directories.
Click to hide internal directories.