external_services

package
v0.0.0-...-9b7b450 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: GPL-3.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Service

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

func NewS3Service

func NewS3Service(basePath string) S3Service

func (*S3Service) DeleteFile

func (s *S3Service) DeleteFile(filePath string) error

func (*S3Service) GetFileUrl

func (s *S3Service) GetFileUrl(fileKey string) string

func (*S3Service) ListFiles

func (s *S3Service) ListFiles(directory string) ([]*s3.Object, error)

func (*S3Service) UploadFile

func (s *S3Service) UploadFile(filename string, file io.Reader) error

Jump to

Keyboard shortcuts

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