https://github.com/beyondstorage/go-service-qingstor
QingStor Object Storage support for go-storage.
https://github.com/beyondstorage/go-service-qingstor
object-storage qingstor
Last synced: 12 months ago
JSON representation
QingStor Object Storage support for go-storage.
- Host: GitHub
- URL: https://github.com/beyondstorage/go-service-qingstor
- Owner: beyondstorage
- License: apache-2.0
- Created: 2020-07-01T09:29:09.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-01T13:55:58.000Z (over 2 years ago)
- Last Synced: 2025-06-03T15:48:24.693Z (about 1 year ago)
- Topics: object-storage, qingstor
- Language: Go
- Homepage: https://beyondstorage.io/docs/go-storage/services/qingstor
- Size: 246 KB
- Stars: 1
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# go-services-qingstor
[QingStor Object Storage](https://www.qingcloud.com/products/objectstorage/) service support for [go-storage](https://github.com/beyondstorage/go-storage).
## Notes
**This package has been moved to [go-storage](https://github.com/beyondstorage/go-storage/tree/master/services/qingstor).**
```shell
go get go.beyondstorage.io/services/qingstor/v4
```
## Install
```go
go get github.com/beyondstorage/go-service-qingstor/v3
```
## Usage
```go
import (
"log"
_ "github.com/beyondstorage/go-service-qingstor/v3"
"github.com/beyondstorage/go-storage/v4/services"
)
func main() {
store, err := services.NewStoragerFromString("qingstor://bucket_name/path/to/workdir?credential=hmac:access_key_id:secret_access_key&endpoint=https:qingstor.com")
if err != nil {
log.Fatal(err)
}
// Write data from io.Reader into hello.txt
n, err := store.Write("hello.txt", r, length)
}
```
- See more examples in [go-storage-example](https://github.com/beyondstorage/go-storage-example).
- Read [more docs](https://beyondstorage.io/docs/go-storage/services/qingstor) about go-service-qingstor.