imager

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2016 License: AGPL-3.0, AGPL-3.0-or-later Imports: 27 Imported by: 0

Documentation

Overview

Package imager handles image, video, etc. upload requests and processing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitImager

func InitImager() error

InitImager applies the thumbnail quality configuration

func NewImageUpload

func NewImageUpload(w http.ResponseWriter, r *http.Request)

NewImageUpload handles the clients' image (or other file) upload request

func UploadImageHash added in v2.6.0

func UploadImageHash(w http.ResponseWriter, req *http.Request)

UploadImageHash attempts to skip image upload, if the file has already been thumbnailed and is stored on the server. The client sends and SHA1 hash of the file it wants to upload. The server looks up, if such a file is thumbnailed. If yes, generates and sends a new image allocation token to the client.

Types

This section is empty.

Directories

Path Synopsis
Package assets manages imager file asset allocation and deallocation
Package assets manages imager file asset allocation and deallocation

Jump to

Keyboard shortcuts

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