udm_message

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendHttpResponseMessage

func SendHttpResponseMessage(channel chan HandlerResponseMessage, header http.Header, status int, body interface{})

Send HTTP Response to HTTP handler thread through HTTP channel, args[0] is response payload and args[1:] is Additional Value

Types

type Event

type Event int
const (
	EventGenerateAuthData Event = iota
	EventConfirmAuth
	EventGetAmData
	EventGetIdTranslationResult
	EventInfo
	EventGetSupi
	EventGetSharedData
	EventGetSmData
	EventGetNssai
	EventGetSmfSelectData
	EventGetSmsMngData
	EventGetSmsData
	EventSubscribeToSharedData
	EventSubscribe
	EventUnsubscribeForSharedData
	EventUnsubscribe
	EventModify
	EventModifyForSharedData
	EventGetTraceData
	EventGetUeContextInSmfData
	EventGetUeContextInSmsfData
	EventCreateEeSubscription
	EventDeleteEeSubscription
	EventUpdateEeSubscription
	EventGetAmf3gppAccess
	EventGetAmfNon3gppAccess
	EventRegistrationAmf3gppAccess
	EventRegisterAmfNon3gppAccess
	EventUpdateAmf3gppAccess
	EventUpdateAmfNon3gppAccess
	EventDeregistrationSmfRegistrations
	EventRegistrationSmfRegistrations
	EventGetSmsf3gppAccess
	EventDeregistrationSmsf3gppAccess
	EventDeregistrationSmsfNon3gppAccess
	EventGetSmsfNon3gppAccess
	EventUpdateSMSFReg3GPP
	EventRegistrationSmsfNon3gppAccess
	EventUpdate
	EventDataChangeNotificationToNF
)

type EventConfirmAuthValue

type EventConfirmAuthValue struct {
	RequestUri string
	Supi       string
	// contains filtered or unexported fields
}

type EventGenerateAuthDataValue

type EventGenerateAuthDataValue struct {
	RequestUri string
	// contains filtered or unexported fields
}

type HandlerMessage

type HandlerMessage struct {
	Event        Event
	HTTPRequest  *http_wrapper.Request
	ResponseChan chan HandlerResponseMessage //return Http response
	Value        interface{}                 // input/request value
}

func NewHandlerMessage

func NewHandlerMessage(event Event, httpRequest *http_wrapper.Request) (msg HandlerMessage)

type HandlerResponseMessage

type HandlerResponseMessage struct {
	HTTPResponse *http_wrapper.Response
}

type HttpResponseMessageType

type HttpResponseMessageType string

Jump to

Keyboard shortcuts

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