cache

package
v0.167.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImage

func GetImage(ctx context.Context, key string, buf *bytes.Buffer) error

func HandleImage

func HandleImage(res http.ResponseWriter, req *http.Request)

HandleImage handles fetching and displaying an image from one of the image caches.

func SaveAvatar

func SaveAvatar(ctx context.Context, id string, data []byte) error

func SaveImage

func SaveImage(ctx context.Context, id string, data []byte) error

func SaveScreenshot

func SaveScreenshot(ctx context.Context, id string, data []byte) error

func SaveThumbnail

func SaveThumbnail(ctx context.Context, id string, data []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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