Moved to google.golang.org/genproto/googleapis/api/annotations
Fixes #52
This commit is contained in:
		
							
								
								
									
										13
									
								
								vendor/github.com/go-kit/kit/sd/registrar.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								vendor/github.com/go-kit/kit/sd/registrar.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
package sd
 | 
			
		||||
 | 
			
		||||
// Registrar registers instance information to a service discovery system when
 | 
			
		||||
// an instance becomes alive and healthy, and deregisters that information when
 | 
			
		||||
// the service becomes unhealthy or goes away.
 | 
			
		||||
//
 | 
			
		||||
// Registrar implementations exist for various service discovery systems. Note
 | 
			
		||||
// that identifying instance information (e.g. host:port) must be given via the
 | 
			
		||||
// concrete constructor; this interface merely signals lifecycle changes.
 | 
			
		||||
type Registrar interface {
 | 
			
		||||
	Register()
 | 
			
		||||
	Deregister()
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user