handlers

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderLoginPartial added in v0.11.0

func RenderLoginPartial(c echo.Context, cmp templ.Component) error

Types

type Handler

type Handler struct {
	Model                *models.Model
	SessionManager       *sessions.SessionManager
	CACert               *x509.Certificate
	ServerName           string
	ConsolePort          string
	ReverseProxyAuthPort string
}

func NewHandler

func NewHandler(model *models.Model, sm *sessions.SessionManager, cert *x509.Certificate, server, consolePort, reverseProxyAuthPort string) *Handler

func (*Handler) Auth

func (h *Handler) Auth(c echo.Context) error

func (*Handler) Register

func (h *Handler) Register(e *echo.Echo)

Jump to

Keyboard shortcuts

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