server

package
v0.0.0-...-0eca5ab Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteMap

type RouteMap map[string]map[string]http.HandlerFunc

type Router

type Router struct {
	*mux.Router
}

func (*Router) AddCorsRoutes

func (sr *Router) AddCorsRoutes(context string, routeMap RouteMap)

func (*Router) AddRoutes

func (sr *Router) AddRoutes(context string, routeMap RouteMap)

Jump to

Keyboard shortcuts

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