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 + const BadRequestError + const ExpiredError + const NotValidError + func NewVerifier(srv imageserver.Server, key string, expiration time.Duration) imageserver.Server + type Error string + func (e Error) Error() string + type Parser struct + func (prs *Parser) Parse(req *http.Request, params imageserver.Params) error + func (prs *Parser) Resolve(p string) (httpParam string) + type Signer struct + func NewSigner(key []byte, expires time.Duration) *Signer + func (s *Signer) ServeHTTP(w http.ResponseWriter, req *http.Request) + type Verifier struct + Next imageserver.Server + func (srv *Verifier) Get(params imageserver.Params) (*imageserver.Image, error)