mirror of
				https://github.com/go-micro/go-micro.git
				synced 2025-10-30 23:27:41 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			258 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			258 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package etcdv3
 | |
| 
 | |
| import (
 | |
| 	"github.com/micro/go-micro/v2/registry"
 | |
| 	"github.com/micro/go-micro/v2/registry/etcd"
 | |
| )
 | |
| 
 | |
| // Auth allows you to specify username/password
 | |
| func Auth(username, password string) registry.Option {
 | |
| 	return etcd.Auth(username, password)
 | |
| }
 |