Documentation ¶
Index ¶
- type CmppConf
- type DeliverHandler
- type LongtextCmpp
- func (c *LongtextCmpp) Close()
- func (c *LongtextCmpp) Exit()
- func (c *LongtextCmpp) IsAvailable() bool
- func (c *LongtextCmpp) KeepOpen()
- func (c *LongtextCmpp) Open()
- func (c *LongtextCmpp) ResetConn() error
- func (c *LongtextCmpp) SubmitLongtext(phone, content, serviceID, srcID string) (*SubmitLongtextResp, error)
- type Segment
- type SubmitLongtextResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeliverHandler ¶
type LongtextCmpp ¶
LongtextCmpp 客户端 在 CmppConn上增加 1. 自动keepalive 2. 断线重连 3. Deliver处理 4. 同步发送长短信 TODO: 长文本上行
func NewLongtextCmpp ¶
func NewLongtextCmpp(c CmppConf, deliverHandler DeliverHandler) (*LongtextCmpp, error)
func (*LongtextCmpp) Exit ¶
func (c *LongtextCmpp) Exit()
func (*LongtextCmpp) IsAvailable ¶
func (c *LongtextCmpp) IsAvailable() bool
func (*LongtextCmpp) ResetConn ¶
func (c *LongtextCmpp) ResetConn() error
func (*LongtextCmpp) SubmitLongtext ¶
func (c *LongtextCmpp) SubmitLongtext(phone, content, serviceID, srcID string) (*SubmitLongtextResp, error)
type SubmitLongtextResp ¶
Click to show internal directories.
Click to hide internal directories.