1 Star 0 Fork 0

moran666666 / go-ubiq

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
nodeevent_string.go 445 Bytes
一键复制 编辑 原始数据 按行查看 历史
// Code generated by "stringer -type=nodeEvent"; DO NOT EDIT.
package discv5
import "strconv"
const _nodeEvent_name = "pongTimeoutpingTimeoutneighboursTimeout"
var _nodeEvent_index = [...]uint8{0, 11, 22, 39}
func (i nodeEvent) String() string {
i -= 264
if i >= nodeEvent(len(_nodeEvent_index)-1) {
return "nodeEvent(" + strconv.FormatInt(int64(i+264), 10) + ")"
}
return _nodeEvent_name[_nodeEvent_index[i]:_nodeEvent_index[i+1]]
}
1
https://gitee.com/moran666666/go-ubiq.git
git@gitee.com:moran666666/go-ubiq.git
moran666666
go-ubiq
go-ubiq
v3.0.1

搜索帮助