aboutsummaryrefslogblamecommitdiffstats
path: root/p2p/discv5/nodeevent_string.go
blob: 38c1993bacbf8ea810715f3468d56ac8cfca50b4 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                             


              
                
 
                                                                 
 
                                                

                                    


                                                                               
         
                                                                         
 
// 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]]
}