handlers

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: MIT Imports: 9 Imported by: 0

README

handlers

import "github.com/wyattjoh/ims/cmd/ims/handlers"

Overview

Package handlers provides the routes used by the ims binary.

Index

Package files

handlers.go

func Image

func Image(timeout time.Duration) http.HandlerFunc

Image is the handler which loads the filename from the request, loads the file via the provider, and processes the image to re-encode it with caching headers.


Generated by godoc2md

Documentation

Overview

Package handlers provides the routes used by the `ims` binary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Image

func Image(timeout time.Duration) http.HandlerFunc

Image is the handler which loads the filename from the request, loads the file via the provider, and processes the image to re-encode it with caching headers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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