micro/router/registry/registry.go
ben-toogood a2550820d3
router: add to service options; add dns and static implementations (#1733)
* config/cmd: add router to service options

* router/service: use micro client
2020-06-24 11:46:51 +01:00

9 lines
206 B
Go

package registry
import "github.com/micro/go-micro/v2/router"
// NewRouter returns an initialised registry router
func NewRouter(opts ...router.Option) router.Router {
return router.NewRouter(opts...)
}