Documentation
¶
Index ¶
Constants ¶
View Source
const ( AMF_DEFAULT_IPV4 = "127.0.0.18" AMF_DEFAULT_PORT = "8000" AMF_DEFAULT_PORT_INT = 8000 AMF_DEFAULT_NRFURI = "https://127.0.0.10:8000" )
View Source
const (
AMF_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 AmfConfig Config
func (*Config) GetVersion ¶
type Configuration ¶
type Configuration struct {
AmfName string `yaml:"amfName,omitempty"`
NgapIpList []string `yaml:"ngapIpList,omitempty"`
Sbi *Sbi `yaml:"sbi,omitempty"`
ServiceNameList []string `yaml:"serviceNameList,omitempty"`
ServedGumaiList []models.Guami `yaml:"servedGuamiList,omitempty"`
SupportTAIList []models.Tai `yaml:"supportTaiList,omitempty"`
PlmnSupportList []PlmnSupportItem `yaml:"plmnSupportList,omitempty"`
SupportDnnList []string `yaml:"supportDnnList,omitempty"`
NrfUri string `yaml:"nrfUri,omitempty"`
Security *Security `yaml:"security,omitempty"`
NetworkName NetworkName `yaml:"networkName,omitempty"`
T3502Value int `yaml:"t3502Value,omitempty"`
T3512Value int `yaml:"t3512Value,omitempty"`
Non3gppDeregistrationTimerValue int `yaml:"non3gppDeregistrationTimerValue,omitempty"`
T3513 TimerValue `yaml:"t3513"`
T3522 TimerValue `yaml:"t3522"`
T3550 TimerValue `yaml:"t3550"`
T3560 TimerValue `yaml:"t3560"`
T3565 TimerValue `yaml:"t3565"`
}
type NetworkName ¶
type PlmnSupportItem ¶
Click to show internal directories.
Click to hide internal directories.