router

package
v0.0.0-...-b336cc8 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QuestionRoutes

func QuestionRoutes(v1 *gin.RouterGroup, httpRouter Router)

Types

type Router

type Router interface {
	INIT()
	SETUP_MIDDLEWARES()
	SETUP_ROUTES()
	POST(groupPath *gin.RouterGroup, relativePath string, f func(c *gin.Context))
	DELETE(groupPath *gin.RouterGroup, relativePath string, f func(c *gin.Context))
	PUT(groupPath *gin.RouterGroup, relativePath string, f func(c *gin.Context))
	GET(groupPath *gin.RouterGroup, relativePath string, f func(c *gin.Context))
	SERVE(port string)
}

func NewGinRouter

func NewGinRouter() Router

Jump to

Keyboard shortcuts

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