apns:apns是用于基于ios通知的http2协议的简单golang程序包

时间:2021-03-01 20:21:44
【文件属性】:
文件名称:apns:apns是用于基于ios通知的http2协议的简单golang程序包
文件大小:6KB
文件格式:ZIP
更新时间:2021-03-01 20:21:44
ios http2 apns connection-pool Go apns是适用于http2的苹果apns库 特征: 支持连接池 使用检查连接支持ping框架 ============ 安装 go get golang.org/x/net/http2 go get github.com/blackbeans/apns 快速开始 创建APNS客户端 certificate , _ := FromP12File ( "./push.p12" , "xxxx" ) pool , err := NewConnPool ( 10 , 10 , 10 , 20 * time . Second , func ( ctx context. Context ) ( * ApnsConn , error ) { conn , err := NewApnsConn ( ctx , certificate , URL_PRODUCTI
【文件预览】:
apns-master
----apns_conn.go(6KB)
----apns_pool.go(3KB)
----README.md(1KB)
----certificate.go(4KB)

网友评论