Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinioClient ¶
type MinioClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(endpoint, accessKey, secretKey string) (*MinioClient, error)
func (*MinioClient) DownloadFile ¶
func (c *MinioClient) DownloadFile(bucketName, objectName string) ([]byte, error)
func (*MinioClient) GetFileUrl ¶
func (c *MinioClient) GetFileUrl(bucketName, objectName string) (string, error)
func (*MinioClient) HealthCheck ¶
func (c *MinioClient) HealthCheck() error
func (*MinioClient) UploadFile ¶
func (c *MinioClient) UploadFile(bucketName, objectName, file string) (string, error)
Click to show internal directories.
Click to hide internal directories.