storage

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBucket

func CreateBucket(client *s3.S3, ticketID string) error

Types

type Config

type Config struct {
	Host     string
	User     string
	Region   string
	Password string
}

type Storage

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

func New

func New(config *Config) (*Storage, error)

func (*Storage) DeleteBucket

func (s *Storage) DeleteBucket(name string) error

func (*Storage) Downloader

func (s *Storage) Downloader() *s3manager.Downloader

func (*Storage) S3

func (s *Storage) S3() *s3.S3

func (*Storage) Uploader

func (s *Storage) Uploader() *s3manager.Uploader

Jump to

Keyboard shortcuts

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