util

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2022 License: Apache-2.0 Imports: 13 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AmfLogPath           = path_util.Free5gcPath("free5gc/amfsslkey.log")
	AmfPemPath           = path_util.Free5gcPath("free5gc/support/TLS/amf.pem")
	AmfKeyPath           = path_util.Free5gcPath("free5gc/support/TLS/amf.key")
	DefaultAmfConfigPath = path_util.Free5gcPath("free5gc/config/amfcfg.yaml")
)

Functions

func InitAmfContext

func InitAmfContext(context *context.AMFContext)

func MarshToJsonString

func MarshToJsonString(v interface{}) (result []string)

func PlmnIdStringToModels

func PlmnIdStringToModels(plmnId string) (plmnID models.PlmnId)

func SearchNFServiceUri

func SearchNFServiceUri(nfProfile models.NfProfile, serviceName models.ServiceName,
	nfServiceStatus models.NfServiceStatus) (nfUri string)

func SeperateAmfId

func SeperateAmfId(amfid string) (regionId, setId, ptrId string, err error)

func SnssaiHexToModels

func SnssaiHexToModels(hexString string) (*models.Snssai, error)

func SnssaiModelsToHex

func SnssaiModelsToHex(snssai models.Snssai) string

func TACConfigToModels

func TACConfigToModels(intString string) (hexString string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL