2018-01-08 15:15:57 +03:00
|
|
|
// Code generated by "stringer -type=nodeEvent"; DO NOT EDIT.
|
2016-10-19 14:04:55 +03:00
|
|
|
|
|
|
|
package discv5
|
|
|
|
|
2018-01-08 15:15:57 +03:00
|
|
|
import "strconv"
|
2016-10-19 14:04:55 +03:00
|
|
|
|
2018-04-18 01:53:50 +03:00
|
|
|
const _nodeEvent_name = "pongTimeoutpingTimeoutneighboursTimeout"
|
2016-10-19 14:04:55 +03:00
|
|
|
|
2018-04-18 01:53:50 +03:00
|
|
|
var _nodeEvent_index = [...]uint8{0, 11, 22, 39}
|
2016-10-19 14:04:55 +03:00
|
|
|
|
|
|
|
func (i nodeEvent) String() string {
|
2018-04-18 01:53:50 +03:00
|
|
|
i -= 264
|
|
|
|
if i >= nodeEvent(len(_nodeEvent_index)-1) {
|
|
|
|
return "nodeEvent(" + strconv.FormatInt(int64(i+264), 10) + ")"
|
2016-10-19 14:04:55 +03:00
|
|
|
}
|
2018-04-18 01:53:50 +03:00
|
|
|
return _nodeEvent_name[_nodeEvent_index[i]:_nodeEvent_index[i+1]]
|
2016-10-19 14:04:55 +03:00
|
|
|
}
|