admin

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const PrefixAdmin = "/admin/"

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