router

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GogsRouterGroup   = make([]func(*gin.RouterGroup), 0)
	GithubRouterGroup = make([]func(*gin.RouterGroup), 0)
	StatusRouterGroup = make([]func(*gin.RouterGroup), 0)
)

mulitVersion

Functions

func GithubRouter

func GithubRouter(eng *gin.Engine)

GithubRouter defines group router name of hook of github.

func GogsRouter

func GogsRouter(eng *gin.Engine)

GogsRouter defines group router name of hook of gogs.

func InitAllRouter

func InitAllRouter()

initAllRouter simply init all routers

func StatusRouter added in v0.3.0

func StatusRouter(eng *gin.Engine)

Types

This section is empty.

Jump to

Keyboard shortcuts

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