ginserv

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 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 RouterGroup

type RouterGroup gin.IRouter

RouterGroup TODO

func NewAPIGroup

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

NewAPIGroup TODO

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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