gininitiator

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HandlePanics gin.RecoveryFunc = func(c *gin.Context, err any) {
	log.Printf("panic happened!!! err: %+v", err)
	c.Abort()
}

Functions

func InitGin

func InitGin(basePath string, wsParams libParams.ParamInterface, corsConfig *cors.Config) (*gin.Engine, *gin.RouterGroup)

func InitSlogGin

func InitSlogGin(wsParams libParams.ParamInterface, app *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