cache

package
v1.12.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler exposes cache-related routes. It mirrors the legacy behavior and delegates logic to core while honoring endpoint feature flags.

func New

func New(cfg config.File) *Handler

func NewWithDeps added in v1.12.0

func NewWithDeps(deps *handlerdeps.Deps) *Handler

NewWithDeps constructs the cache handler with injected dependencies.

Enables deps-based cache flush endpoints (avoid globals in request path).

func (*Handler) Register

func (h *Handler) Register(router gin.IRouter)

Jump to

Keyboard shortcuts

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