1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
go-micro/registry/consul/consul.go
2016-03-15 22:20:21 +00:00

15 lines
265 B
Go

package consul
import (
"github.com/micro/go-micro/cmd"
"github.com/micro/go-micro/registry"
)
func init() {
cmd.DefaultRegistries["consul"] = NewRegistry
}
func NewRegistry(opts ...registry.Option) registry.Registry {
return registry.NewRegistry(opts...)
}