Add consul package comment
This commit is contained in:
		| @@ -1,9 +1,11 @@ | |||||||
|  | // Package consul provides a consul based registry and is the default discovery system | ||||||
| package consul | package consul | ||||||
|  |  | ||||||
| import ( | import ( | ||||||
| 	"github.com/micro/go-micro/registry" | 	"github.com/micro/go-micro/registry" | ||||||
| ) | ) | ||||||
|  |  | ||||||
|  | // NewRegistry returns a new consul registry | ||||||
| func NewRegistry(opts ...registry.Option) registry.Registry { | func NewRegistry(opts ...registry.Option) registry.Registry { | ||||||
| 	return registry.NewRegistry(opts...) | 	return registry.NewRegistry(opts...) | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user