add cmd and bug fix
This commit is contained in:
		| @@ -20,6 +20,7 @@ import ( | ||||
| 	// registries | ||||
| 	"github.com/micro/go-micro/registry" | ||||
| 	"github.com/micro/go-micro/registry/consul" | ||||
| 	"github.com/micro/go-micro/registry/gossip" | ||||
| 	"github.com/micro/go-micro/registry/mdns" | ||||
|  | ||||
| 	// selectors | ||||
| @@ -171,6 +172,7 @@ var ( | ||||
|  | ||||
| 	DefaultRegistries = map[string]func(...registry.Option) registry.Registry{ | ||||
| 		"consul": consul.NewRegistry, | ||||
| 		"gossip": gossip.NewRegistry, | ||||
| 		"mdns":   mdns.NewRegistry, | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user