s3

package
v0.0.0-...-4c6b815 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 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(f []cli.Flag) []cli.Flag

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