Documentation
¶
Index ¶
- Variables
- func DeleteDBDel(c *echo.Context) error
- func GetAction(c *echo.Context) error
- func GetActionPage(c *echo.Context) error
- func GetActions(c *echo.Context) error
- func GetActionsPage(c *echo.Context) error
- func GetCond(c *echo.Context) error
- func GetDBGet(c *echo.Context) error
- func GetDBJSONDump(c *echo.Context) error
- func GetDBPage(c *echo.Context) error
- func GetDBdelete(c *echo.Context) error
- func GetDeleteNotifications(c *echo.Context) error
- func GetFavicon(c *echo.Context) error
- func GetFilesDelete(c *echo.Context) error
- func GetFilesDownload(c *echo.Context) error
- func GetFilesPage(c *echo.Context) error
- func GetHealth(c *echo.Context) error
- func GetLoginPage(c *echo.Context) error
- func GetLogout(c *echo.Context) error
- func GetNotifications(c *echo.Context) error
- func GetNotificationsPage(c *echo.Context) error
- func GetRefreshPage(c *echo.Context) error
- func GetReloadActions(c *echo.Context) error
- func GetResetAction(c *echo.Context) error
- func GetRobots(c *echo.Context) error
- func GetRunning(c *echo.Context) error
- func GetSchedules(c *echo.Context) error
- func GetSchedulesJSON(c *echo.Context) error
- func GetSystemPage(c *echo.Context) error
- func PostDBput(c *echo.Context) error
- func PostFilesUpload(c *echo.Context) error
- func PostLoginPage(c *echo.Context) error
- func PutDBPut(c *echo.Context) error
- func PutNotifications(c *echo.Context) error
- func RedirectUI(c *echo.Context) error
- func ReloadActions(groups map[string][]data.ActionData) error
- func RunGroup(c *echo.Context) error
- func ScheduleStart(r map[string][]data.ActionData) error
- func StaticCacheControl() echo.MiddlewareFunc
- func StaticCacheControlWithConfig(cfg CacheControlConfig) echo.MiddlewareFunc
- func Yaml(c *echo.Context, i interface{}) error
- type CacheControlConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultCacheControlConfig = CacheControlConfig{ Immutable: true, } )
Functions ¶
func DeleteDBDel ¶
func GetActionPage ¶
func GetActions ¶
func GetActionsPage ¶
func GetDBJSONDump ¶
func GetDBdelete ¶
func GetDeleteNotifications ¶
func GetFavicon ¶
func GetFilesDelete ¶
func GetFilesDownload ¶
func GetFilesPage ¶
func GetLoginPage ¶
func GetNotifications ¶
func GetNotificationsPage ¶
func GetRefreshPage ¶
func GetReloadActions ¶
func GetResetAction ¶
func GetRunning ¶
func GetSchedules ¶
func GetSchedulesJSON ¶
func GetSystemPage ¶
func PostFilesUpload ¶
func PostLoginPage ¶
func PutNotifications ¶
func RedirectUI ¶
func ReloadActions ¶
func ReloadActions(groups map[string][]data.ActionData) error
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.
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.
Click to show internal directories.
Click to hide internal directories.