xserver

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MulanPSL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWebHttpServer added in v1.0.2

func NewWebHttpServer() *gin.Engine

====================================================================== * * 功能:启动 Gin Http 服务 * 描述:router 类型为 gin.Engine 中实现了 ServeHTTP 所以可以赋值给 Handler * ======================================================================

func WebHttpServerRun

func WebHttpServerRun(routerHandler *gin.Engine)

====================================================================== * * 功能:启动 Gin Http 服务 * 描述:router 类型为 gin.Engine 中实现了 ServeHTTP 所以可以赋值给 Handler * ======================================================================

func WebHttpServerStop

func WebHttpServerStop()

====================================================================== * * 功能:关闭 Gin Http 服务 * ======================================================================

Types

This section is empty.

Jump to

Keyboard shortcuts

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