1 Star 0 Fork 0

leminewx / polarisprotocol

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
connection_registrar.go 317 Bytes
一键复制 编辑 原始数据 按行查看 历史
wenxian 提交于 2024-01-12 17:14 . 优化协议
package connection
import (
"net"
"gitee.com/leminewx/polarisprotocol/v1/protocol"
)
type RegistrarConn struct {
*connection
}
func NewRegistrarConn(conn net.Conn, heartbeatInterval int) *RegistrarConn {
return &RegistrarConn{
connection: newConn(conn, protocol.IDE_REGISTRAR, protocol.IDE_REGISTRAR),
}
}
1
https://gitee.com/leminewx/polarisprotocol.git
git@gitee.com:leminewx/polarisprotocol.git
leminewx
polarisprotocol
polarisprotocol
edd3e93176c7

搜索帮助