package
1.0.5
Repository: https://github.com/devyx-tech/go-smpp.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package pdu provide codecs for binary PDU data.
Package smpptest provides an SMPP test server.

# Functions

Dial dials to the SMPP server and returns a Conn, or error.
EchoHandler is the default Server RequestHandlerFunc, and echoes back any PDUs received.
No description provided by the author
NewServer creates and initializes a new Server.
NewUnstartedServer creates a new Server with default settings, and does not start it.

# Constants

Supported connection statuses.
Supported connection statuses.
Supported connection statuses.
Supported connection statuses.
MaxDestinationAddress is the maximum number of destination addresses allowed in the submit_multi operation.

# Variables

Default settings.
ErrMaxWindowSize is returned when an operation (such as Submit) violates the maximum window size configured for the Transmitter or Transceiver.
ErrNotBound is returned on attempts to use a Transmitter, Receiver or Transceiver before calling Bind.
ErrNotConnected is returned on attempts to use a dead connection.
ErrTimeout is returned when we've reached timeout while waiting for response.
Default settings.

# Structs

MergeHolder is a struct which holds the slice of MessageParts for the merging of a long incoming message.
MessagePart is a struct which holds the data of the part of a long incoming message.
QueryResp contains the parsed the response of a QuerySM request.
Receiver implements an SMPP client receiver.
ShortMessage configures a short message that can be submitted via the Transmitter.
Transceiver implements an SMPP transceiver.
Transmitter implements an SMPP client transmitter.
UnsucessDest contains information about unsuccessful delivery to an address when submit multi is used.

# Interfaces

ClientConn provides a persistent client connection that handles reconnection with a back-off algorithm.
Closer is the interface that wraps the basic Close method.
Conn is an SMPP connection.
ConnStatus is an abstract interface for a connection status change.
RateLimiter defines an interface for pacing the sending of short messages to a client connection.
Reader is the interface that wraps the basic Read method.
No description provided by the author
No description provided by the author
Writer is the interface that wraps the basic Write method.

# Type aliases

AuthRequestHandlerFunc is the signature of a function passed to Server instances, that is called when a client is trying to bind to the server.
ConnMiddleware is useful for intercepting the traffic in/out happening for the SMPP server.
ConnStatusID represents a connection status change.
HandlerFunc is the handler function that a Receiver calls when a new PDU arrives.
RequestHandlerFunc is the signature of a function passed to Server instances, that is called when client PDU messages arrive.