Help us shape the future of Go! Take the 2026 Go Developer Survey

s3

package
v1.233.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3

type S3 mg.Namespace

S3 groups content-aware S3 deployment targets.

func (S3) Deploy

func (S3) Deploy(ctx context.Context, localDir, s3URI string) error

Deploy publishes a static site with explicit metadata while avoiding writes for objects whose content and Content-Type have not changed. Protected paths are read from the newline-separated PROTECTED_PATTERNS environment variable.

Jump to

Keyboard shortcuts

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