Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GinServer ¶
type GinServer struct { // Router is the gin engine. Router *gin.Engine // contains filtered or unexported fields }
GinServer is an HTTP server.
func NewGinServer ¶
func NewGinServer(app *configx.Application, init InitRoutes) (*GinServer, error)
NewGinServer is used to create a new HTTP server.
type InitRoutes ¶
InitRoutes is a function to initialize routes.
Click to show internal directories.
Click to hide internal directories.