util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UdmDefaultKeyLogPath = "./log/udmsslkey.log"
	UdmDefaultPemPath    = "./config/TLS/udm.pem"
	UdmDefaultKeyPath    = "./config/TLS/udm.key"
	UdmDefaultConfigPath = "./config/udmcfg.yaml"
)

Variables

This section is empty.

Functions

func InitUDMContext

func InitUDMContext(udmContext *context.UDMContext)

func ProblemDetailsSystemFailure

func ProblemDetailsSystemFailure(detail string) *models.ProblemDetails

func SearchNFServiceUri

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

Types

type NFContextGetter

type NFContextGetter func() *udm_context.UDMContext

type RouterAuthorizationCheck

type RouterAuthorizationCheck struct {
	// contains filtered or unexported fields
}

func NewRouterAuthorizationCheck

func NewRouterAuthorizationCheck(serviceName models.ServiceName) *RouterAuthorizationCheck

func (*RouterAuthorizationCheck) Check

func (rac *RouterAuthorizationCheck) Check(c *gin.Context, udmContext udm_context.NFContext)

Jump to

Keyboard shortcuts

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