image

package
v0.0.0-...-60e87b8 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package image provides imageserver/http.Parser implementations for imageserver/image.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormatParser

type FormatParser struct{}

FormatParser is an http Parser that takes the "format" param from query.

func (*FormatParser) Parse

func (parser *FormatParser) Parse(req *http.Request, params imageserver.Params) error

Parse implements Parser.

func (*FormatParser) Resolve

func (parser *FormatParser) Resolve(param string) string

Resolve implements Parser.

type QualityParser

type QualityParser struct{}

QualityParser is an http Parser that takes the "quality" param from query.

func (*QualityParser) Parse

func (parser *QualityParser) Parse(req *http.Request, params imageserver.Params) error

Parse implements Parser.

func (*QualityParser) Resolve

func (parser *QualityParser) Resolve(param string) string

Resolve implements Parser.

Jump to

Keyboard shortcuts

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