s3manager

package
v0.0.0-...-6bb5bf3 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func New

func New(cfg aws.Config, bucket, keyPrefix string, s3Compatible bool) Manager

func (Manager) Load

func (m Manager) Load(
	ctx context.Context,
	primaryKey string,
	secondaryKeys []string,
) (mo.Option[remote.LoadedCache], error)

func (Manager) Save

func (m Manager) Save(ctx context.Context, cacheKey string, data []byte) error

Jump to

Keyboard shortcuts

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