Versions in this module Expand all Collapse all v1 v1.0.1 Apr 7, 2024 v1.0.0 Dec 16, 2023 Changes in this version + func NewParamsHashETagFunc(newHashFunc func() hash.Hash) func(params imageserver.Params) string + func ParseQueryBool(param string, req *http.Request, params imageserver.Params) error + func ParseQueryFloat(param string, req *http.Request, params imageserver.Params) error + func ParseQueryInt(param string, req *http.Request, params imageserver.Params) error + func ParseQueryInt64(param string, req *http.Request, params imageserver.Params) error + func ParseQueryString(param string, req *http.Request, params imageserver.Params) + type CacheControlPublicHandler struct + func (h *CacheControlPublicHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request) + type Error struct + Code int + Text string + func NewErrorDefaultText(code int) *Error + func (err *Error) Error() string + type ExpiresHandler struct + Expires time.Duration + func (eh *ExpiresHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request) + type Handler struct + ETagFunc func(params imageserver.Params) string + ErrorFunc func(err error, req *http.Request) + Parser Parser + Server imageserver.Server + func (handler *Handler) ServeHTTP(rw http.ResponseWriter, req *http.Request) + type ListParser []Parser + func (lp ListParser) Parse(req *http.Request, params imageserver.Params) error + func (lp ListParser) Resolve(param string) string + type Parser interface + Parse func(*http.Request, imageserver.Params) error + Resolve func(param string) (httpParam string) + type SourceParser struct + func (parser *SourceParser) Parse(req *http.Request, params imageserver.Params) error + func (parser *SourceParser) Resolve(param string) string + type SourcePathParser struct + func (parser *SourcePathParser) Parse(req *http.Request, params imageserver.Params) error + func (parser *SourcePathParser) Resolve(param string) string + type SourcePrefixParser struct + Prefix string + func (ps *SourcePrefixParser) Parse(req *http.Request, params imageserver.Params) error + type SourceTransformParser struct + Transform func(source string) string + func (ps *SourceTransformParser) Parse(req *http.Request, params imageserver.Params) error