Documentation ¶
Index ¶
- func NewAuthHandler(cfg *config.AuthConfiguration) func(http.Handler) http.Handler
- func NewClientHintsHandler() func(http.Handler) http.Handler
- func NewContentTypeHandler() func(http.Handler) http.Handler
- func NewImageExtensionFilterHandler(cfg *config.Configuration) func(http.Handler) http.Handler
- func NewOptionsContext(ctx context.Context, options *image.Options) context.Context
- func NewOptionsHandler(optionParser *image.OptionParser) func(http.Handler) http.Handler
- func NewPathHandler() func(http.Handler) http.Handler
- func NewSecurityHandler() func(http.Handler) http.Handler
- func OptionsFromContext(ctx context.Context) (*image.Options, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthHandler ¶
NewAuthHandler authenticate by key
func NewClientHintsHandler ¶
NewClientHintsHandler parse query string see: http://httpwg.org/http-extensions/client-hints.html
func NewContentTypeHandler ¶
NewContentTypeHandler negotiate content type
func NewImageExtensionFilterHandler ¶
NewImageExtensionFilterHandler filtered url for accept image file only
func NewOptionsContext ¶
NewOptionsContext func
func NewOptionsHandler ¶
NewOptionsHandler parse query string
func NewPathHandler ¶
NewPathHandler parse query string
func NewSecurityHandler ¶
NewSecurityHandler parse query string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.