Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupportsWebP ¶
Types ¶
type Gif ¶
type Gif struct {
// contains filtered or unexported fields
}
func (*Gif) Transcode ¶
func (t *Gif) Transcode(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header) error
func (*Gif) TranscodeHead ¶
func (t *Gif) TranscodeHead(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header)
type Identity ¶
type Identity struct{}
func (*Identity) Transcode ¶
func (i *Identity) Transcode(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header) error
func (*Identity) TranscodeHead ¶
func (i *Identity) TranscodeHead(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header)
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
func (*Jpeg) TranscodeHead ¶
func (t *Jpeg) TranscodeHead(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header)
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
func (*Minifier) TranscodeHead ¶
func (t *Minifier) TranscodeHead(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header)
type Png ¶
type Png struct {
// contains filtered or unexported fields
}
func (*Png) Transcode ¶
func (t *Png) Transcode(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header) error
func (*Png) TranscodeHead ¶
func (t *Png) TranscodeHead(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header)
type WebP ¶
type WebP struct {
// contains filtered or unexported fields
}
func (*WebP) Transcode ¶
func (t *WebP) Transcode(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header) error
func (*WebP) TranscodeHead ¶
func (t *WebP) TranscodeHead(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.