server

package
v0.0.0-...-0ae98b0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoute

func AddRoute(route types.RouteFunc)

func GetRoutes

func GetRoutes() []types.RouteFunc

func SetToContext

func SetToContext(ctx *gin.Context, key string, value any)

Types

type GinEngineInterface

type GinEngineInterface interface {
	InitGinApp(setupRoutes func()) GinEngineInterface
	RunServer()
	GetRootRouterGroup() *gin.RouterGroup
}

func GetGinEngine

func GetGinEngine() GinEngineInterface

func NewGinEngine

func NewGinEngine() GinEngineInterface

Jump to

Keyboard shortcuts

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