s3cache

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3CacheFile

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

func (*S3CacheFile) Close

func (cf *S3CacheFile) Close() error

func (*S3CacheFile) Read

func (cf *S3CacheFile) Read(p []byte) (int, error)

func (*S3CacheFile) Write

func (cf *S3CacheFile) Write(data []byte) (int, error)

type S3CacheStore

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

func NewS3CacheStore

func NewS3CacheStore(bucket string) (*S3CacheStore, error)

func (*S3CacheStore) Delete

func (cs *S3CacheStore) Delete(cacheFile string) error

func (*S3CacheStore) Open

func (cs *S3CacheStore) Open(cacheFile string, cacheTime time.Duration) (cache.CacheFile, error)

Jump to

Keyboard shortcuts

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