Versions in this module Expand all Collapse all v0 v0.2.0 Jul 2, 2014 Changes in this version + func Transform(img []byte, opt *Options) ([]byte, error) + type Options struct + Fit bool + FlipHorizontal bool + FlipVertical bool + Height float64 + Rotate int + Width float64 + func ParseOptions(str string) *Options + func (o Options) String() string + type Request struct + Options *Options + URL *url.URL + type TransformingTransport struct + Client *http.Client + Transport http.RoundTripper + func (t *TransformingTransport) RoundTrip(req *http.Request) (*http.Response, error) v0.1.0 Dec 26, 2013 Changes in this version + var NopCache = new(nopCache) + func NewRequest(r *http.Request) (*data.Request, error) + type Cache interface + Delete func(key string) + Get func(key string) (data []byte, ok bool) + Set func(key string, data []byte) + type Proxy struct + Cache Cache + Client *http.Client + MaxHeight int + MaxWidth int + Whitelist []string + func NewProxy(client *http.Client, cache Cache) *Proxy + func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) + type URLError struct + Message string + URL *url.URL + func (e URLError) Error() string