package
Version:
v0.15.2
Opens a new window with list of versions in this module.
Published: Nov 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
* @Author: kamalyes 501893067@qq.com
* @Date: 2023-07-28 00:50:58
* @LastEditors: kamalyes 501893067@qq.com
* @LastEditTime: 2024-08-09 09:18:56
* @FilePath: \go-core\pkg\oss\minio.go
* @Description:
*
* Copyright (c) 2024 by kamalyes, All Rights Reserved.
Delete
*
- @Description: 删除文件
- @param objectName
- @return err
DownLoad
*
- @Description: 下载
- @param objectName
- @param filePath
- @param contentType
Exist
*
- @Description: 文件是否存在
- @param objectName
- @param filePath
- @param contentType
func Minio() *minio.Client
Minio 初始z化minio客户端
func UpLoad(objectName, filePath, contentType string) (err error)
UpLoad
*
- @Description: 上传
- @param objectName
- @param filePath
- @param contentType application/zip
Source Files
¶
Click to show internal directories.
Click to hide internal directories.