Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encoder ¶
func Encoder(next http.HandlerFunc) http.HandlerFunc
Encoder injects required response encoder to the request context.
func Pixel ¶
func Pixel(next http.HandlerFunc) http.HandlerFunc
Pixel writes transparent 1x1 GIF if it found pixel key in query params.
Types ¶
type EncoderKey ¶
type EncoderKey struct{}
EncoderKey is used as a context key to store a Schema encoder.
Click to show internal directories.
Click to hide internal directories.