router

package
v0.0.0-...-a4a4373 Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteCreater

type RouteCreater interface {
	CreateRoutes(r chi.Router) chi.Router
}

type Router

type Router interface {
	ListenAndServe() error
	StaticFiles(path string, root afero.Fs)
}

func NewRouter

func NewRouter(address string, logger m.RequestLogger, routeCreater RouteCreater) Router

Jump to

Keyboard shortcuts

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