v5

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GravityCommand

func GravityCommand(mw *imagick.MagickWand, args string) error

Types

type RequestV5

type RequestV5 struct {
	dims.Request
}

func NewRequest

func NewRequest(r *http.Request, config dims.Config) *RequestV5

func (*RequestV5) Sign

func (r *RequestV5) Sign() []byte

Sign returns a signed string using HMAC-SHA256-128.

func (*RequestV5) ValidateSignature

func (r *RequestV5) ValidateSignature() bool

ValidateSignature verifies the signature of the image resize is valid.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL