github.com/ajankovic/smpp (go): Package smpp implements SMPP protocol v3.4.  It allows easier creation of SMPP clients and servers by providing utilities for PDU and session handling. In order to do any kind of interaction you first need to create an SMPP Session(https://godoc.org/github.com/ajankovic/smpp#Session). Session is the main carrier of the protocol and enforcer of the specification rules.  Naked session can be created with:  But it's much more convenient to use helpers that would do the binding with the remote SMSC and return you session prepared for sending:  And once you have the session it can be used for sending PDUs to the binded peer.  Session that is no longer used must be closed:  If you want to handle incoming requests to the session specify SMPPHandler in session configuration when creating new session similarly to HTTPHandler from _net/http_ package:  Detailed examples for SMPP client and server can be found in the examples dir.
Keywords: go|go-library|golang|smpp