media

package
v0.0.0-...-54d5358 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

package media is a read through cache for media files.

Index

Constants

View Source
const (
	PREVIEW_MAX_WIDTH  = 560
	PREVIEW_MAX_HEIGHT = 415
)

Variables

This section is empty.

Functions

func Avatar

func Avatar(env *models.Env, w http.ResponseWriter, r *http.Request) error
func Header(env *models.Env, w http.ResponseWriter, r *http.Request) error

func Original

func Original(env *models.Env, w http.ResponseWriter, r *http.Request) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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