Documentation ¶
Overview ¶
Package router provides api service routing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRouter ¶
func NewRouter(opts ...microrouter.Option) microrouter.Router
NewRouter returns the default router
func WithHandler ¶
func WithHandler(h api.Handler) microrouter.Option
func WithNamespace ¶
func WithNamespace(ns string) microrouter.Option
func WithRegistry ¶
func WithRegistry(r registry.Registry) microrouter.Option
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.