This repository was archived by the owner on Oct 22, 2021. It is now read-only.
generated frombeyondstorage/go-service-example
- Notifications
You must be signed in to change notification settings - Fork1
qiniu kodo support for go-storage
NotificationsYou must be signed in to change notification settings
beyondstorage/go-service-kodo
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
qiniu kodo service support forgo-storage.
This package has been moved togo-storage.
go get go.beyondstorage.io/services/kodo/v3
gogetgithub.com/beyondstorage/go-service-kodo/v2
import ("log"_"github.com/beyondstorage/go-service-kodo/v2""github.com/beyondstorage/go-storage/v4/services")funcmain() {store,err:=services.NewStoragerFromString("kodo://bucket_name/path/to/workdir?credential=hmac:<access_key>:<secret_key>&endpoint=http:<domain>")iferr!=nil {log.Fatal(err)}// Write data from io.Reader into hello.txtn,err:=store.Write("hello.txt",r,length)}
- See more examples ingo-storage-example.
- Readmore docs about go-service-kodo.
About
qiniu kodo support for go-storage
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors8
Uh oh!
There was an error while loading.Please reload this page.