go-smpp:Go编程语言的SMPP 3.4协议

时间:2021-05-02 00:34:42
【文件属性】:
文件名称:go-smpp:Go编程语言的SMPP 3.4协议
文件大小:71KB
文件格式:ZIP
更新时间:2021-05-02 00:34:42
Go SMPP 3.4 这是基于Kevin Patel的原始,用于Go的SMPP 3.4的实现。 该API已被重构为具有更多测试和文档的惯用Go代码。 还有许多新功能,例如测试服务器(请参阅smpptest软件包),并支持LATIN-1和UCS-2的文本转换。 它不完全符合要求,代码中包含一些TODO。 用法 以下是由HTTP服务器包装的SMPP客户端发送器,该发送器可以发送短消息(SMS): func main () { // make persistent connection tx := & smpp. Transmitter { Addr : "localhost:2775" , User : "foobar" , Passwd : "secret" , } conn := tx . Bind
【文件预览】:
go-smpp-master
----.gitignore(6B)
----go.mod(231B)
----CONTRIBUTORS(566B)
----.travis.yml(215B)
----LICENSE(1KB)
----go.sum(2KB)
----README.md(3KB)
----smpp()
--------encoding()
--------conn_test.go(779B)
--------doc.go(237B)
--------transceiver_test.go(2KB)
--------smpptest()
--------transmitter_test.go(10KB)
--------receiver_test.go(1011B)
--------transmitter.go(17KB)
--------conn.go(3KB)
--------pdu()
--------example_test.go(3KB)
--------client.go(7KB)
--------transceiver.go(2KB)
--------receiver.go(7KB)
----AUTHORS(361B)
----cmd()
--------smsapid()
--------sms()

网友评论