bucket

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	BucketExists() bool
	MakeBucket() error
	PutObject(f *File) error
	DeleteBucket() error
}

func NewS3Client

func NewS3Client(awsCfg *aws.Config, bucketName string) (Client, error)

type File

type File struct {
	Filename string
	Buffer   *bytes.Buffer
	ACL      string
}

func S3Files

func S3Files(issuerHost string) ([]*File, error)

Jump to

Keyboard shortcuts

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