commit a370675252c86101b9d1d9fcbcb8cb67c5f24623 Author: ben-toogood Date: Wed Jun 24 11:46:51 2020 +0100 router: add to service options; add dns and static implementations (#1733) * config/cmd: add router to service options * router/service: use micro client diff --git a/registry.go b/registry.go new file mode 100644 index 0000000..01172b4 --- /dev/null +++ b/registry.go @@ -0,0 +1,8 @@ +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...) +}