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