gitea: Index | Files

package routes

import ""


Package Files


func NewMacaron Uses

func NewMacaron() *macaron.Macaron

NewMacaron initializes Macaron instance.

func RegisterRoutes Uses

func RegisterRoutes(m *macaron.Macaron)

RegisterRoutes routes routes to Macaron

func RouterHandler Uses

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

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

Package routes imports 40 packages (graph) and is imported by 3 packages. Updated 2020-01-19. Refresh now. Tools for package owners.