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