caching

package
v0.0.0-...-0d8a45e Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCachingConfiguration

func GetCachingConfiguration(cfg *config.Configuration) *cachingConfiguration

Types

type S3CachingAdapter

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

func NewS3CachingAdapter

func NewS3CachingAdapter(cfg *config.Configuration) (*S3CachingAdapter, error)

func (*S3CachingAdapter) Download

func (a *S3CachingAdapter) Download(dest string, oid string, size int64, progressCallback func(bytesSoFar int64, bytesSinceLast int64)) (bool, error)

func (*S3CachingAdapter) Upload

func (a *S3CachingAdapter) Upload(source string, oid string, size int64) (bool, error)

Jump to

Keyboard shortcuts

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