mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-04 03:03:14 -05:00 
			
		
		
		
	
		
			
	
	
		
			8 lines
		
	
	
		
			227 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			8 lines
		
	
	
		
			227 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package ready
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// The Readiness interface needs to be implemented by each plugin willing to provide a readiness check.
							 | 
						||
| 
								 | 
							
								type Readiness interface {
							 | 
						||
| 
								 | 
							
									// Ready is called by ready to see whether the plugin is ready.
							 | 
						||
| 
								 | 
							
									Ready() bool
							 | 
						||
| 
								 | 
							
								}
							 |