Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                

routes

package
v0.0.0-...-01d37cd Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: AGPL-3.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultCacheControlConfig = CacheControlConfig{
		Immutable: true,
	}
)

Functions

func DeleteDBDel

func DeleteDBDel(c *echo.Context) error

func GetAction

func GetAction(c *echo.Context) error

func GetActionPage

func GetActionPage(c *echo.Context) error

func GetActions

func GetActions(c *echo.Context) error

func GetActionsPage

func GetActionsPage(c *echo.Context) error

func GetCond

func GetCond(c *echo.Context) error

func GetDBGet

func GetDBGet(c *echo.Context) error

func GetDBJSONDump

func GetDBJSONDump(c *echo.Context) error

func GetDBPage

func GetDBPage(c *echo.Context) error

func GetDBdelete

func GetDBdelete(c *echo.Context) error

func GetDeleteNotifications

func GetDeleteNotifications(c *echo.Context) error

func GetFavicon

func GetFavicon(c *echo.Context) error

func GetFilesDelete

func GetFilesDelete(c *echo.Context) error

func GetFilesDownload

func GetFilesDownload(c *echo.Context) error

func GetFilesPage

func GetFilesPage(c *echo.Context) error

func GetHealth

func GetHealth(c *echo.Context) error

func GetLoginPage

func GetLoginPage(c *echo.Context) error

func GetLogout

func GetLogout(c *echo.Context) error

func GetNotifications

func GetNotifications(c *echo.Context) error

func GetNotificationsPage

func GetNotificationsPage(c *echo.Context) error

func GetRefreshPage

func GetRefreshPage(c *echo.Context) error

func GetReloadActions

func GetReloadActions(c *echo.Context) error

func GetResetAction

func GetResetAction(c *echo.Context) error

func GetRobots

func GetRobots(c *echo.Context) error

func GetRunning

func GetRunning(c *echo.Context) error

func GetSchedules

func GetSchedules(c *echo.Context) error

func GetSchedulesJSON

func GetSchedulesJSON(c *echo.Context) error

func GetSystemPage

func GetSystemPage(c *echo.Context) error

func PostDBput

func PostDBput(c *echo.Context) error

func PostFilesUpload

func PostFilesUpload(c *echo.Context) error

func PostLoginPage

func PostLoginPage(c *echo.Context) error

func PutDBPut

func PutDBPut(c *echo.Context) error

func PutNotifications

func PutNotifications(c *echo.Context) error

func RedirectUI

func RedirectUI(c *echo.Context) error

func ReloadActions

func ReloadActions(groups map[string][]data.ActionData) error

func RunGroup

func RunGroup(c *echo.Context) error

RunGroup is the main route for triggering a command

func ScheduleStart

func ScheduleStart(r map[string][]data.ActionData) error

func StaticCacheControl

func StaticCacheControl() echo.MiddlewareFunc

StaticCacheControl returns a middleware that sets Cache-Control headers

func StaticCacheControlWithConfig

func StaticCacheControlWithConfig(cfg CacheControlConfig) echo.MiddlewareFunc

StaticCacheControlWithConfig returns the middleware with a custom config.

func Yaml

func Yaml(c *echo.Context, i interface{}) error

Types

type CacheControlConfig

type CacheControlConfig struct {
	// MaxAge is the cache duration in seconds for cacheable assets.
	MaxAge int

	// Immutable marks the response as immutable (useful for fingerprinted assets).
	Immutable bool
}

CacheControlConfig holds configuration for the cache control middleware.

Jump to

Keyboard shortcuts

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