Documentation ¶
Index ¶
- func CreateBucket(minioClient *minio.Client, bucketName string) error
- func GetMinioUrl(minioClient *minio.Client, bulkName, objectName string, expires time.Duration) (*url.URL, error)
- func Init_minio()
- func RemoveObject(minioClient *minio.Client, bulkName, objectName string)
- func UploadObject(minioClient *minio.Client, filetype string, bulkName, objectName string, ...) error
- type MinioClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMinioUrl ¶
func Init_minio ¶
func Init_minio()
Types ¶
type MinioClient ¶
type MinioClient struct { Client *minio.Client VideoBucket string ImageBucket string // contains filtered or unexported fields }
func GetMinioClient ¶
func GetMinioClient() MinioClient
Click to show internal directories.
Click to hide internal directories.