gin

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Zlib Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DebugMode   = "debug"
	ReleaseMode = "release"
	TestMode    = "test"
)

Variables

This section is empty.

Functions

func New

func New(ginConf *Conf) *gin.Engine

Types

type Conf

type Conf struct {
	RunMode    string
	Routes     []pkg.Routes
	Validators []pkg.Validators
	Recovery   bool
}

type InitInfo

type InitInfo struct {
	InitFunc func(interface{}) error
	Params   interface{}
}

Jump to

Keyboard shortcuts

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