2018-02-27 10:39:30 +00:00
|
|
|
// Code generated by "stringer -type=nodeEvent"; DO NOT EDIT.
|
2016-10-20 11:07:42 +00:00
|
|
|
|
|
|
|
package discv5
|
|
|
|
|
2018-02-27 10:39:30 +00:00
|
|
|
import "strconv"
|
2016-10-20 11:07:42 +00:00
|
|
|
|
2018-04-24 15:50:26 +00:00
|
|
|
const _nodeEvent_name = "pongTimeoutpingTimeoutneighboursTimeout"
|
2016-10-20 11:07:42 +00:00
|
|
|
|
2018-04-24 15:50:26 +00:00
|
|
|
var _nodeEvent_index = [...]uint8{0, 11, 22, 39}
|
2016-10-20 11:07:42 +00:00
|
|
|
|
|
|
|
func (i nodeEvent) String() string {
|
2018-04-24 15:50:26 +00:00
|
|
|
i -= 264
|
|
|
|
if i >= nodeEvent(len(_nodeEvent_index)-1) {
|
|
|
|
return "nodeEvent(" + strconv.FormatInt(int64(i+264), 10) + ")"
|
2016-10-20 11:07:42 +00:00
|
|
|
}
|
2018-04-24 15:50:26 +00:00
|
|
|
return _nodeEvent_name[_nodeEvent_index[i]:_nodeEvent_index[i+1]]
|
2016-10-20 11:07:42 +00:00
|
|
|
}
|