Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

qiniu kodo support for go-storage

NotificationsYou must be signed in to change notification settings

beyondstorage/go-service-kodo

Repository files navigation

qiniu kodo service support forgo-storage.

Notes

This package has been moved togo-storage.

go get go.beyondstorage.io/services/kodo/v3

Install

gogetgithub.com/beyondstorage/go-service-kodo/v2

Usage

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)}

About

qiniu kodo support for go-storage

Topics

Resources

Stars

Watchers

Forks

Contributors8


[8]ページ先頭

©2009-2025 Movatter.jp