example

package
v2.1.3-0...-c5a35c8 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicEngine

func BasicEngine() http.Handler

BasicEngine is basic router.

func EchoEngine

func EchoEngine() *echo.Echo

EchoEngine is echo router.

func GinEngine

func GinEngine() *gin.Engine

GinEngine is gin router.

func HTTPRouterEngine

func HTTPRouterEngine() http.Handler

HTTPRouterEngine is httprouter router.

func MuxEngine

func MuxEngine() *mux.Router

MuxEngine is mux router.

func PatEngine

func PatEngine() *pat.Router

PatEngine is pat router.

Types

type HelloAction

type HelloAction struct {
	tango.Ctx
}

HelloAction for tango router

func (*HelloAction) Get

func (c *HelloAction) Get() string

Get will be executed when GET requests

type UserController

type UserController struct {
	beego.Controller
}

UserController for beego router

func (*UserController) SayHelloWorld

func (c *UserController) SayHelloWorld()

SayHelloWorld for say hello

Jump to

Keyboard shortcuts

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