routers

package
v0.0.0-...-ae311d0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiHeaderMiddleware

func ApiHeaderMiddleware(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)

Types

type Router

type Router struct {
	PlanetRepository repositories.PlanetRepository `inject:""`
}

func (Router) NewRouter

func (router Router) NewRouter() *mux.Router

Jump to

Keyboard shortcuts

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