Documentation ¶
Index ¶
- type Client
- func (s *Client) Delete(object string) error
- func (s *Client) Download(object string) (io.Reader, error)
- func (s *Client) DownloadWithContext(ctx context.Context, object string) (io.ReadCloser, error)
- func (s *Client) List(folderPath string) ([]minio.ObjectInfo, error)
- func (s *Client) Stat(object string) (*minio.ObjectInfo, error)
- func (s *Client) Upload(object string, reader io.Reader, size int64) error
- func (s *Client) UploadWithContext(ctx context.Context, object string, reader io.Reader, size int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Client *minio.Client BucketName string }
Client is used interact with S3 storage
func (*Client) DownloadWithContext ¶
Click to show internal directories.
Click to hide internal directories.