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 - Fork3
beyondstorage/go-service-minio
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
MinIO is an open source cloud-native high-performance object storage service.This project will use minio's native SDK to implementgo-storage,enabling users to manipulate data on minio servers through a unified interface.
This package has been moved togo-storage.
go get go.beyondstorage.io/services/minio
gogetgithub.com/beyondstorage/go-service-minio
import ("log"_"github.com/beyondstorage/go-service-minio""github.com/beyondstorage/go-storage/v4/services")funcmain() {store,err:=services.NewStoragerFromString("minio://<bucket_name>/<work_dir>?credential=hmac:<access_key>:<secret_key>&endpoint=https:<host>:<port>")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-minio.
About
MinIO native 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.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.