RouterMidWeb

package
v5.1.29 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHtmlData

func GetHtmlData(c *gin.Context) gin.H

GetHtmlData 静态文件固定数据生成器

func HeaderBaseData

func HeaderBaseData(c *gin.Context)

HeaderBaseData 设定无头信息的请求 用于一些特殊页面,如错误页面等

func HeaderLoggedUser

func HeaderLoggedUser(c *gin.Context)

HeaderLoggedUser 登陆会话之后的请求,包含已登陆会话

func HeaderLoginBefore

func HeaderLoginBefore(c *gin.Context)

HeaderLoginBefore 登陆会话之前的请求,包含未登陆会话

func OutputThemeHtml

func OutputThemeHtml(c *gin.Context, path string, obj interface{})

OutputThemeHtml 输出模版页面

func RouterMid

func RouterMid(c *gin.Context)

RouterMid 静态网页中间件 不需要任何中间件处理的头部

Types

This section is empty.

Jump to

Keyboard shortcuts

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