api

package
v0.0.0-...-1b7c243 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2017 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DelayedRouter

type DelayedRouter struct {
	// contains filtered or unexported fields
}

func NewRouter

func NewRouter() *DelayedRouter

func (*DelayedRouter) Add

func (r *DelayedRouter) Add(version, method, path string, h http.Handler) *mux.Route

func (*DelayedRouter) AddAll

func (r *DelayedRouter) AddAll(version, path string, h http.Handler) *mux.Route

AddAll binds a path to GET, POST, PUT and DELETE methods.

func (*DelayedRouter) ServeHTTP

func (r *DelayedRouter) ServeHTTP(w http.ResponseWriter, req *http.Request)

type Route

type Route struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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