devui

package
v3.1.0-beta.8 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: GPL-3.0 Imports: 18 Imported by: 0

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 New

func New(deps *deps.Deps) *DevUIHandler

New returns a new DevUIHandler.

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.

type Endpoint

type Endpoint struct {
	Method   string
	Path     string
	Template string
}

Endpoint represents an IdP endpoint for the dev UI list.

Jump to

Keyboard shortcuts

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