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