Documentation ¶
Index ¶
- Constants
- Variables
- type Object
- type Service
- func (s *Service) Delete(ctx context.Context, bucketName string, objectName string) error
- func (s *Service) Get(ctx context.Context, bucketName string, objectName string) (string, string, error)
- func (s *Service) Upload(ctx context.Context, bucketName string, objectName string, fileData []byte, ...) (*Object, error)
Constants ¶
View Source
const TEMP_DIR = "tmp"
Variables ¶
View Source
var ( ErrMaxFilesizeExceeded = errors.New("max file size exceeded") ErrInvalidFileFormat = errors.New("invalid file format") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.