routes

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMacaron

func NewMacaron() *macaron.Macaron

NewMacaron initializes Macaron instance.

func RegisterRoutes

func RegisterRoutes(m *macaron.Macaron)

RegisterRoutes routes routes to Macaron

func RouterHandler added in v1.9.0

func RouterHandler(level log.Level) func(ctx *macaron.Context)

RouterHandler is a macaron handler that will log the routing to the default gitea log

Types

This section is empty.

Jump to

Keyboard shortcuts

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