handler

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MIT Imports: 40 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Health

func Health(c *gin.Context)

func Root

func Root(c *gin.Context)

Types

type Handler

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

func New

func New(options Options) *Handler

func (*Handler) CreateCacheEntry

func (h *Handler) CreateCacheEntry(c *gin.Context)

func (*Handler) DeleteCacheEntries

func (h *Handler) DeleteCacheEntries(c *gin.Context)

func (*Handler) DeleteCacheEntry

func (h *Handler) DeleteCacheEntry(c *gin.Context)

func (*Handler) DeleteStorageLocation

func (h *Handler) DeleteStorageLocation(c *gin.Context)

func (*Handler) DownloadCacheEntry

func (h *Handler) DownloadCacheEntry(c *gin.Context)

func (*Handler) FinalizeCacheEntryUpload

func (h *Handler) FinalizeCacheEntryUpload(c *gin.Context)

func (*Handler) GetCacheEntry

func (h *Handler) GetCacheEntry(c *gin.Context)

func (*Handler) GetCacheEntryDownloadURL

func (h *Handler) GetCacheEntryDownloadURL(c *gin.Context)

func (*Handler) GetStorageLocation

func (h *Handler) GetStorageLocation(c *gin.Context)

func (*Handler) HeadCacheEntry

func (h *Handler) HeadCacheEntry(c *gin.Context)

func (*Handler) ListCacheEntries

func (h *Handler) ListCacheEntries(c *gin.Context)

func (*Handler) ManagementDocs

func (h *Handler) ManagementDocs(c *gin.Context)

func (*Handler) ManagementOpenAPISpec

func (h *Handler) ManagementOpenAPISpec(c *gin.Context)

func (*Handler) ManagementRPC

func (h *Handler) ManagementRPC(c *gin.Context)

func (*Handler) MatchCacheEntry

func (h *Handler) MatchCacheEntry(c *gin.Context)

func (*Handler) Ready

func (h *Handler) Ready(c *gin.Context)

func (*Handler) UploadPart

func (h *Handler) UploadPart(c *gin.Context)

type Options

type Options struct {
	Config    config.Config
	Cache     *cache.Service
	DB        *ent.Client
	Storage   storage.Adapter
	Lifecycle *storagelifecycle.Service
	Metrics   metrics.Recorder
	Logger    *zerolog.Logger
}

Jump to

Keyboard shortcuts

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