mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-11 17:18:28 +02:00
12 lines
300 B
Go
12 lines
300 B
Go
// Package consul provides a consul based registry and is the default discovery system
|
|
package consul
|
|
|
|
import (
|
|
"github.com/micro/go-micro/registry"
|
|
)
|
|
|
|
// NewRegistry returns a new consul registry
|
|
func NewRegistry(opts ...registry.Option) registry.Registry {
|
|
return registry.NewRegistry(opts...)
|
|
}
|