web

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Accounts

type Accounts = gin.Accounts

type Config

type Config struct {
	IsDebugMode bool
	Environment string
	Port        string
}

type Context

type Context = gin.Context

type Engine

type Engine = gin.Engine

func SetupEngine

func SetupEngine(logger ErrorLogger, cfg Config) (*Engine, error)

type Error

type Error = gin.Error

type ErrorLogger added in v1.9.2

type ErrorLogger interface {
	Error(ctx context.Context, message string) error
}

type ErrorType

type ErrorType = gin.ErrorType

type H

type H = gin.H

type HandlerChains

type HandlerChains = []HandlerFunc

type HandlerFunc

type HandlerFunc = func(*Context)

type IRouter

type IRouter = gin.IRouter

type IRoutes

type IRoutes = gin.IRoutes

type LogFormatter

type LogFormatter = gin.LogFormatter

type LogFormatterParams

type LogFormatterParams = gin.LogFormatterParams

type LoggerConfig

type LoggerConfig = gin.LoggerConfig

type Negotiate

type Negotiate = gin.Negotiate

type Param

type Param = gin.Param

type Params

type Params = gin.Params

type RecoveryFunc

type RecoveryFunc = gin.RecoveryFunc

type ResponseWriter

type ResponseWriter = gin.ResponseWriter

type RouteInfo

type RouteInfo = gin.RouteInfo

type RouterGroup

type RouterGroup = gin.RouterGroup

type RoutesInfo

type RoutesInfo = gin.RoutesInfo

Jump to

Keyboard shortcuts

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