gitea: code.gitea.io/gitea/routers/routes Index | Files

package routes

import "code.gitea.io/gitea/routers/routes"

Index

Package Files

routes.go

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 2019-09-01. Refresh now. Tools for package owners.