package
1.2.1
Repository: https://github.com/go-magma/magma.git
Documentation: pkg.go.dev

# Functions

TODO: Remove this when not needed anymore (use findAVP from diam library) Searches on ccr message for an specific AVP message based on the avp tag on ccr type (ie "Session-Id") It returns on the first match it finds.
NewOCSDiamServer initializes an OCS with an empty account map Input: *sm.Settings containing the diameter related parameters *TestOCSConfig containing the server address, and standard OCS settings like how many bytes to allocate to users Output: a new OCSDiamServer.

# Constants

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Here we wrap the protobuf definitions to easily define instance methods.
No description provided by the author
OCSDiamServer wraps an OCS storing subscriber accounts and their credit.
No description provided by the author
No description provided by the author