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 EventGetSmData EventGetNssai EventGetSmfSelectData EventGetSmsMngData EventGetSmsData EventSubscribe EventUnsubscribe EventModify 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 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
Click to show internal directories.
Click to hide internal directories.