util

package
v0.0.0-...-73af4a3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UdrLogPath           = path_util.N5GCPath("n5gc/udrsslkey.log")
	UdrPemPath           = path_util.N5GCPath("n5gc/support/TLS/udr.pem")
	UdrKeyPath           = path_util.N5GCPath("n5gc/support/TLS/udr.key")
	DefaultUdrConfigPath = path_util.N5GCPath("n5gc/config/udrcfg.yaml")
)

Functions

func EscapeDnn

func EscapeDnn(dnn string) string

func InitUdrContext

func InitUdrContext(context *udr_context.UDRContext)

func MapArrayToByte

func MapArrayToByte(data []map[string]interface{}) []byte

func MapToByte

func MapToByte(data map[string]interface{}) []byte

func PrimitiveAToByte

func PrimitiveAToByte(data []interface{}) []byte

func ProblemDetailsMalformedReqSyntax

func ProblemDetailsMalformedReqSyntax(detail string) *models.ProblemDetails

func ProblemDetailsModifyNotAllowed

func ProblemDetailsModifyNotAllowed(detail string) *models.ProblemDetails

func ProblemDetailsNotFound

func ProblemDetailsNotFound(cause string) *models.ProblemDetails

func ProblemDetailsSystemFailure

func ProblemDetailsSystemFailure(detail string) *models.ProblemDetails

func ProblemDetailsUpspecified

func ProblemDetailsUpspecified(detail string) *models.ProblemDetails

func SnssaiHexToModels

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

func SnssaiModelsToHex

func SnssaiModelsToHex(snssai models.Snssai) string

func ToBsonM

func ToBsonM(data interface{}) bson.M

func UnescapeDnn

func UnescapeDnn(dnnKey string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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