ginserv

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: MIT Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadGlobalMiddlewares

func LoadGlobalMiddlewares(conf *viper.Viper, engine *gin.Engine)

LoadGlobalMiddlewares TODO

func NewEngine

func NewEngine(conf *viper.Viper) *gin.Engine

NewEngine TODO

func NewServer

func NewServer(conf *viper.Viper, engine *gin.Engine) *http.Server

NewServer create HTTP server

func UseLog

func UseLog(engine *gin.Engine)

UseLog TODO

Types

type IRoutesHTTPFunc

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

IRoutesHTTPFunc TODO

type RouterGroup

type RouterGroup gin.IRouter

RouterGroup TODO

func NewAPIGroup

func NewAPIGroup(conf *viper.Viper, engine *gin.Engine) RouterGroup

NewAPIGroup TODO

Jump to

Keyboard shortcuts

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