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