Documentation ¶
Index ¶
- func Engine(debug bool) *gin.Engine
- func Group(relativePath string, handlers ...gin.HandlerFunc) *gin.RouterGroup
- func Server(addr string, options ...any)
- func Static(prefix, root string)
- func StaticEmbed(prefix, sub string, efs *embed.FS)
- func StaticIndex(prefix, root string)
- func StaticServe(prefix string, hfs http.FileSystem) gin.HandlerFunc
- func Use(middleware ...gin.HandlerFunc) gin.IRoutes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Group ¶ added in v0.2.6
func Group(relativePath string, handlers ...gin.HandlerFunc) *gin.RouterGroup
func StaticEmbed ¶
func StaticIndex ¶
func StaticIndex(prefix, root string)
func StaticServe ¶
func StaticServe(prefix string, hfs http.FileSystem) gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.