Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gin ¶
type Gin struct { serve.BaseAdapter Srv *http.Server // contains filtered or unexported fields }
Gin 结构体是Gin框架的适配器,用于集成Gin到自定义框架中 Gin struct is an adapter for Gin framework, integrating Gin into the custom framework.
func (*Gin) Close ¶ added in v1.5.3
func (g *Gin) Close()
Close 实现优雅的HTTP服务关闭 Close implements graceful shutdown of the HTTP service
Click to show internal directories.
Click to hide internal directories.