routers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAPIRouters

func InitAPIRouters(g APIRouterGroup, rq *requestq.RQ)

InitAPIRouters TODO

func LoadGlobalMiddlewares

func LoadGlobalMiddlewares(rq *requestq.RQ, engine *gin.Engine)

LoadGlobalMiddlewares TODO

func NewEngine

func NewEngine(rq *requestq.RQ) *gin.Engine

NewEngine create gin engine

func NewServer

func NewServer(rq *requestq.RQ, engine *gin.Engine) *http.Server

NewServer create HTTP server

func UseLog

func UseLog(engine *gin.Engine)

UseLog TODO

Types

type APIRouterGroup

type APIRouterGroup gin.IRouter

APIRouterGroup TODO

func NewAPIGroup

func NewAPIGroup(rq *requestq.RQ, engine *gin.Engine) APIRouterGroup

NewAPIGroup TODO

type IRoutesHTTPFunc

type IRoutesHTTPFunc func(string, ...gin.HandlerFunc) gin.IRoutes

IRoutesHTTPFunc TODO

Jump to

Keyboard shortcuts

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