crop

package
v0.0.0-...-77ed03d Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package crop provides a imageserver/http.Parser implementation for imageserver/image/crop.Processor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser is a imageserver/http.Parser implementation for imageserver/image/crop.Processor.

It uses the "crop" param in the query string, with the following format: min_x,min_y|max_x,max_y

func (*Parser) Parse

func (prs *Parser) Parse(req *http.Request, params imageserver.Params) error

Parse implements imageserver/http.Parser.

func (*Parser) Resolve

func (prs *Parser) Resolve(p string) (httpParam string)

Resolve implements imageserver/http.Parser.

Jump to

Keyboard shortcuts

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