presign

package
v0.0.0-...-c4f7e29 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const PresignPutExpires time.Duration = 15 * duration.PerMinute

PresignPutExpires is how long the presign PUT request remains valid.

Variables

View Source
var DependencySet = wire.NewSet(
	wire.Struct(new(Provider), "*"),
)

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Secret *config.ImagesKeyMaterials
	Clock  clock.Clock
	Host   httputil.HTTPHost
}

func (*Provider) PresignPostRequest

func (p *Provider) PresignPostRequest(url *url.URL) error

func (*Provider) Verify

func (p *Provider) Verify(r *http.Request) error

Jump to

Keyboard shortcuts

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