routers

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2017 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const StaticDir = "public"

静态文件目录

Variables

This section is empty.

Functions

func Home

func Home(ctx *macaron.Context)

首页

func Register

func Register(m *macaron.Macaron)

路由注册

func RegisterMiddleware

func RegisterMiddleware(m *macaron.Macaron)

中间件注册

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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