Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupportsWebP ¶
Types ¶
type Gif ¶
type Gif struct{}
func (*Gif) Transcode ¶
func (t *Gif) Transcode(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header) error
type Identity ¶
type Identity struct{}
func (*Identity) Transcode ¶
func (i *Identity) Transcode(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header) error
type Jpeg ¶
type Jpeg struct {
// contains filtered or unexported fields
}
func (*Jpeg) Transcode ¶
func (t *Jpeg) Transcode(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header) error
type Minifier ¶
type Minifier struct {
// contains filtered or unexported fields
}
func NewMinifier ¶
func NewMinifier() *Minifier
func (*Minifier) Transcode ¶
func (t *Minifier) Transcode(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header) error
Click to show internal directories.
Click to hide internal directories.