1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00
go-micro/registry/consul/consul.go

12 lines
300 B
Go
Raw Normal View History

2018-12-01 14:54:46 +02:00
// Package consul provides a consul based registry and is the default discovery system
2016-03-14 12:45:38 +02:00
package consul
import (
"github.com/micro/go-micro/registry"
)
2018-12-01 14:54:46 +02:00
// NewRegistry returns a new consul registry
2016-03-16 00:20:21 +02:00
func NewRegistry(opts ...registry.Option) registry.Registry {
return registry.NewRegistry(opts...)
2016-03-14 12:45:38 +02:00
}