Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevUIHandler ¶
type DevUIHandler struct {
// contains filtered or unexported fields
}
DevUIHandler handles the development UI for previewing templates.
func (*DevUIHandler) GetVersion ¶
func (h *DevUIHandler) GetVersion(ctx *gin.Context)
GetVersion returns the current template version.
func (*DevUIHandler) Index ¶
func (h *DevUIHandler) Index(ctx *gin.Context)
Index renders the main dev UI page.
func (*DevUIHandler) Register ¶
func (h *DevUIHandler) Register(router gin.IRouter)
Register adds the dev UI routes to the router.
func (*DevUIHandler) RenderTemplate ¶
func (h *DevUIHandler) RenderTemplate(ctx *gin.Context)
RenderTemplate renders a specific template with dummy data.
Click to show internal directories.
Click to hide internal directories.