Documentation
¶
Index ¶
- Constants
- func Action(actions ...string) gin.HandlerFunc
- func Backend(c *gin.Context) backend.Backend
- func Data(c *gin.Context) renderer.Data
- func FlashMessage(c *gin.Context) renderer.MessageContext
- func HandleAttachForm(c *gin.Context)
- func HandleDelete(c *gin.Context)
- func HandleEditForm(c *gin.Context)
- func HandleLogin(c *gin.Context)
- func HandleLoginForm(c *gin.Context)
- func HandleLogout(c *gin.Context)
- func HandlePreview(c *gin.Context)
- func HandleRegister(c *gin.Context)
- func HandleRegisterForm(c *gin.Context)
- func HandleSearch(c *gin.Context)
- func HandleUpdate(c *gin.Context)
- func HandleUpdateForm(c *gin.Context)
- func HandleUserList(c *gin.Context)
- func HandleView(c *gin.Context)
- func Run(b backend.Backend, conf *Config) error
- type Config
- type SessionContext
Constants ¶
View Source
const ( BACKEND = "backend" ROLE = "role" USERNAME = "username" SPECAIL = "special-route" )
gin context or session keys
Variables ¶
This section is empty.
Functions ¶
func Action ¶
func Action(actions ...string) gin.HandlerFunc
func FlashMessage ¶
func FlashMessage(c *gin.Context) renderer.MessageContext
func HandleAttachForm ¶
func HandleDelete ¶
func HandleEditForm ¶
func HandleLogin ¶
func HandleLoginForm ¶
func HandleLogout ¶
func HandlePreview ¶
func HandleRegister ¶
func HandleRegisterForm ¶
func HandleSearch ¶
func HandleUpdate ¶
func HandleUpdateForm ¶
func HandleUserList ¶
func HandleView ¶
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.