ncg

package
v0.0.0-...-36a2cef Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: BSD-2-Clause Imports: 4 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

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