router

package
v2.1.0-rc1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2020 License: AGPL-3.0 Imports: 14 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL