https://github.com/beyondstorage/go-storage-example
Examples usage of go-storage
https://github.com/beyondstorage/go-storage-example
storage
Last synced: 11 months ago
JSON representation
Examples usage of go-storage
- Host: GitHub
- URL: https://github.com/beyondstorage/go-storage-example
- Owner: beyondstorage
- Created: 2021-04-23T02:38:18.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-27T09:15:31.000Z (over 4 years ago)
- Last Synced: 2025-06-19T14:49:10.646Z (12 months ago)
- Topics: storage
- Language: Go
- Homepage:
- Size: 306 KB
- Stars: 3
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Examples for go-storage
## Init Service/Storage
- [Create bos Storager](new_bos.go) (Baidu Object Storage)
- [Create cos Storager](new_cos.go) (Tencent Cloud Object Storage)
- [Create fs Storager](new_fs.go)
- [Create ftp Storager](new_ftp.go) (File Transfer Protocol)
- [Create hdfs Storager](new_hdfs.go) (Hadoop Distributed File System)
- [Create ipfs Storager](new_ipfs.go) (InterPlanetary File System)
- [Create minio Storager](new_minio.go) (MinIO)
- [Create gdrive Storager](new_gdrive.go) (Google Drive)
- [Create s3 Storager](new_s3.go) (Amazon S3)
## Basic Operations
### List files
- [List all files](list.go)
- [List a directory](list.go)
- [List with prefix](list.go)
- [List multipart uploads](list.go)
### Read file
- [Read a file](read.go)
- [Read a range of a file](read.go)
- [Read a file with callback](read.go)
- [Read a file using signed URL](read.go)
### Write file
Write a single file.
- [Write a file](write.go)
- [Write a file with callback](write.go)
- [Write a file using signed URL](write.go)
Write file via append.
- [Append to a new file](append.go)
- [Append to an existing file](append.go)
Write file via multipart.
- [Multipart upload](multipart.go)
- [Resume a multipart upload](multipart.go)
- [Cancel a multipart upload](multipart.go)