Versions in this module Expand all Collapse all v0 v0.1.0 Mar 9, 2018 Changes in this version + const STATE_BIND + const STATE_UNBIND + func InitializeSmppSessionInstance(gw *config.SmsGateway, pduConf *config.PDUConfigs) + type ISmppSessionManager interface + Bind func() error + Destroy func() + Rebind func() error + SendSMS func(data *models.SendSMS) bool + Unbind func() (unbindResp *PDU.UnbindResp, err *Exception.Exception) + var Instance ISmppSessionManager + type SmppSessionManager struct + func (c *SmppSessionManager) Bind() error + func (c *SmppSessionManager) Destroy() + func (c *SmppSessionManager) HandleEvent(event *gosmpp.ServerPDUEvent) (ex *Exception.Exception) + func (c *SmppSessionManager) Rebind() error + func (c *SmppSessionManager) SendSMS(data *models.SendSMS) (subRes bool) + func (c *SmppSessionManager) Unbind() (unbindResp *PDU.UnbindResp, err *Exception.Exception)