Documentation ¶
Index ¶
Constants ¶
View Source
const ( EstablishRequest = 10 EstablishResponse = 11 UpdateRequest = 12 UpdateResponse = 13 TerminalRequest = 14 TerminalResponse = 15 SubscriberIdentifierKey = "SubscriberIdentifier" ServedGPSIKey = "ServedGPSI" ChargingCharacteristicsKey = "ChargingCharacteristics" ChargingDataRefKey = "ChargingDataRefKey" NotifyUriKey = "NotifyUri" RatingGroupKey = "ratingGroup" )
Variables ¶
This section is empty.
Functions ¶
func CustomDecodeN40Message ¶
func CustomDecodeN40Message(msgType int, msgBody []byte, ncgContext *NcgContext) error
Types ¶
type NcgContext ¶
type NcgContext struct { SubscriberIdentifier string `json:"SubscriberIdentifier"` ServedGPSI string `json:"ServedGPSI"` ChargingCharacteristics string `json:"ChargingCharacteristics"` ChargingDataRef string `json:"ChargingDataRefKey"` NotifyUri string `json:"NotifyUri"` RatingGroups []int `json:"ratingGroups"` }
Click to show internal directories.
Click to hide internal directories.