admin

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: GPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PrefixAdmin = "/admin/"
	IDNew       = "new"
)

Variables

View Source
var ProductImageConfigs map[string]imageproxy.ImageConfig = map[string]imageproxy.ImageConfig{
	"100": {
		Width:        100,
		Height:       100,
		ResizingType: imageproxy.ResizingTypeFit,
	},
	"200": {
		Width:        200,
		Height:       200,
		ResizingType: imageproxy.ResizingTypeFit,
	},
}

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(features config.Features, productService product.Usecase, contentService content.Usecase, oidcClient *auth.OIDCClient, sessionAuthKey [64]byte, sessionEncKey [32]byte) *Handler

func (*Handler) NewRenderer

func (h *Handler) NewRenderer() multitemplate.Renderer

func (*Handler) RegisterRoutes

func (h *Handler) RegisterRoutes(r *gin.Engine)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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