controller

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigError added in v0.0.2

func ConfigError(c *gin.Context)

ConfigError shows an error at frontend if configuration has some errors

func HandleRoutes

func HandleRoutes(c *gin.Context)

HandleRoutes handles all the Gauguin routes

Types

type ImageSize

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

ImageSize represents the size of a given image

type WebHook added in v0.0.21

type WebHook struct {
	Action       string            `json:"action"`
	Route        string            `json:"route"`
	Template     string            `json:"template"`
	CacheControl string            `json:"cache-control"`
	Size         string            `json:"size"`
	Params       map[string]string `json:"params"`
}

Jump to

Keyboard shortcuts

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