context

package
v0.0.0-...-91f6fa9 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EeSubscriptionCollection

type EeSubscriptionCollection struct {
	EeSubscriptions      *models.EeSubscription
	AmfSubscriptionInfos []models.AmfSubscriptionInfo
}

type NEFContext

type NEFContext struct {
	Name                                    string
	UriScheme                               models.UriScheme
	BindingIPv4                             string
	SBIPort                                 int
	RegisterIPv4                            string // IP register to NRF
	HttpIPv6Address                         string
	NfId                                    string
	NrfUri                                  string
	EeSubscriptionIDGenerator               int
	SdmSubscriptionIDGenerator              int
	PolicyDataSubscriptionIDGenerator       int
	UESubsCollection                        sync.Map //map[ueId]*UESubsData
	UEGroupCollection                       sync.Map //map[ueGroupId]*UEGroupSubsData
	SubscriptionDataSubscriptionIDGenerator int
	SubscriptionDataSubscriptions           map[subsId]*models.SubscriptionDataSubscriptions
	PolicyDataSubscriptions                 map[subsId]*models.PolicyDataSubscription
}

func NEF_Self

func NEF_Self() *NEFContext

Create new nef context

func (*NEFContext) GetIPv4GroupUri

func (context *NEFContext) GetIPv4GroupUri(nefServiceType NEFServiceType) string

func (*NEFContext) GetIPv4Uri

func (context *NEFContext) GetIPv4Uri() string

func (*NEFContext) Reset

func (context *NEFContext) Reset()

Reset nef Context

type NEFServiceType

type NEFServiceType int
const (
	NNEF_DR NEFServiceType = iota
)

type UEGroupSubsData

type UEGroupSubsData struct {
	EeSubscriptions map[subsId]*models.EeSubscription
}

type UESubsData

type UESubsData struct {
	EeSubscriptionCollection map[subsId]*EeSubscriptionCollection
	SdmSubscriptions         map[subsId]*models.SdmSubscription
}

Jump to

Keyboard shortcuts

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