package
3.0.2+incompatible
Repository: https://github.com/capgemini-engineering/go-diameter.git
Documentation: pkg.go.dev

# Packages

Package smparser provides message parsers for the state machine.
Package smpeer provides functions for extracting information from a CER or CEA, and associating with a Context.

# Functions

New creates and initializes a new StateMachine for clients or servers.
PrepareSupportedApps prepares a list of locally supported apps.

# Variables

ErrHandshakeTimeout is returned by Dial or DialTLS when the client does not receive a handshake answer from the server.
ErrMissingStateMachine is returned by Dial or DialTLS when the Client does not have a valid StateMachine set.

# Structs

A Client is a diameter client that automatically performs a handshake with the server after the connection is established.
Settings used to configure the state machine with AVPs to be added to CER on clients or CEA on servers.
StateMachine is a specialized type of diam.ServeMux that handles the CER/CEA handshake and DWR/DWA messages for clients or servers.
SupportedApp holds properties of each locally supported App.

# Interfaces

The HandshakeNotifier interface is implemented by Handlers that allow detecting peers that have passed the CER/CEA handshake.