util

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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