Documentation ¶
Overview ¶
Package gift provides imageserver/http.Parser implementations for imageserver/image/gift.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResizeParser ¶
type ResizeParser struct{}
ResizeParser is a imageserver/http.Parser implementation for imageserver/image/gift.ResizeProcessor.
It takes the params from the HTTP URL query and stores them in a Params. This Params is added to the given Params at the key "gift_resize".
See imageserver/image/gift.ResizeProcessor for params list.
func (*ResizeParser) Parse ¶
func (prs *ResizeParser) Parse(req *http.Request, params imageserver.Params) error
Parse implements imageserver/http.Parser.
func (*ResizeParser) Resolve ¶
func (prs *ResizeParser) Resolve(param string) string
Resolve implements imageserver/http.Parser.
type RotateParser ¶
type RotateParser struct{}
RotateParser is a imageserver/http.Parser implementation for imageserver/image/gift.RotateProcessor.
It takes the params from the HTTP URL query and stores them in a Params. This Params is added to the given Params at the key "gift_rotate".
See imageserver/image/gift.RotateProcessor for params list.
func (*RotateParser) Parse ¶
func (prs *RotateParser) Parse(req *http.Request, params imageserver.Params) error
Parse implements imageserver/http.Parser.
func (*RotateParser) Resolve ¶
func (prs *RotateParser) Resolve(param string) string
Resolve implements imageserver/http.Parser.