Documentation
¶
Index ¶
- func ChunkUpload(prefer, dfsID, bucketType, filePath, fileName string) (bn, endpoint string, err error)
- func ChunkUploadGetStream(userID, prefer string, chunk utils.ChunksObj) (utils.ChunksObj, int, string, error)
- func ChunkUploadPostStream(userID, prefer string, chunk utils.ChunksObj, fileChunk *multipart.FileHeader) (utils.ChunksObj, int, string, error)
- func GetFile(bucketName, dfsID string) ([]byte, string, string, int64, error)
- func GetTempDownURLFileName(bucketName, dfsID string, expires int64) (map[string]string, error)
- func PutByteFile(prefer, dfsID string, chunk utils.ChunksObj, o map[string]string, f []byte) (utils.ChunksObj, error)
- func PutFile(prefer, dfsID string, chunk utils.ChunksObj, ossFile *multipart.FileHeader) (utils.ChunksObj, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChunkUpload ¶
func ChunkUpload(prefer, dfsID, bucketType, filePath, fileName string) (bn, endpoint string, err error)
ChunkUpload auto upload local file chunk check of get method by cloud
func ChunkUploadGetStream ¶
func ChunkUploadGetStream(userID, prefer string, chunk utils.ChunksObj) (utils.ChunksObj, int, string, error)
ChunkUploadGetStream auto upload file chunk check of get method by cloud
func ChunkUploadPostStream ¶
func ChunkUploadPostStream(userID, prefer string, chunk utils.ChunksObj, fileChunk *multipart.FileHeader) (utils.ChunksObj, int, string, error)
ChunkUploadPostStream auto upload file chunk by cloud
func GetTempDownURLFileName ¶
GetTempDownURLFileName get file download url auto by cloud
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.