handler

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MIT Imports: 26 Imported by: 0

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) 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) 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
}

Jump to

Keyboard shortcuts

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