router

package
v0.0.0-...-6559d9f Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer() *negroni.Negroni

NewServer configures and returns a Server.

Types

type ResponseHandler

type ResponseHandler func(w http.ResponseWriter, r *http.Request) (bool, interface{})

ResponseHandler 用于返回处理函数接口

func (ResponseHandler) ServeHTTP

func (h ResponseHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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