s3

package
v0.0.0-...-e0fbffd Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AwsBucketFlag = "aws-bucket"
	UseS3Flag     = "use-s3"
)

Variables

This section is empty.

Functions

func RegisterS3StorageFlags

func RegisterS3StorageFlags(c *cli.App)

Types

type S3Storage

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

func NewS3Storage

func NewS3Storage(c *cli.Context, cl *cs.S3Client) *S3Storage

func (*S3Storage) GetSub

func (s *S3Storage) GetSub(id int, format string) ([]byte, error)

func (*S3Storage) PutSub

func (s *S3Storage) PutSub(id int, format string, data []byte) (err error)

Jump to

Keyboard shortcuts

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