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.

MinIO native support for go-storage

NotificationsYou must be signed in to change notification settings

beyondstorage/go-service-minio

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.

Notes

This package has been moved togo-storage.

go get go.beyondstorage.io/services/minio

Install

gogetgithub.com/beyondstorage/go-service-minio

Usage

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

About

MinIO native support for go-storage

Topics

Resources

Stars

Watchers

Forks

Contributors7


[8]ページ先頭

©2009-2025 Movatter.jp