v5

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateSignature added in v0.5.0

func ValidateSignature(signature, imageUrl string, signedParams map[string]string, signingKey string) bool

Types

type Request added in v0.5.0

type Request struct {
	*dims.Request
}

func NewRequest

func NewRequest(r *http.Request, w http.ResponseWriter, config core.Config) (*Request, error)

func (*Request) Validate added in v0.5.0

func (v5 *Request) Validate() bool

Validate 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