routers

package
v0.0.0-...-f176acd Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureMiddlewareRouting

func ConfigureMiddlewareRouting(context *macaron.Macaron) error

配置中间件路由

func ConfigureServiceRouting

func ConfigureServiceRouting(context *macaron.Macaron, injector *injects.BasicInject) error

配置控制器路由

Types

type Router

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

func NewRouter

func NewRouter(ctx *macaron.Macaron, injector *injects.BasicInject) *Router

func (*Router) ConfigureRouting

func (r *Router) ConfigureRouting() error

配置全部路由

Jump to

Keyboard shortcuts

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