Minio Go Library for Amazon S3 Legacy Signature v2 Compatible Cloud Storage Install $ go get github.com/minio/minio-go-legacy Example package main import ( "log" "github.com/minio/minio-go-legacy" ) func main() { config := minio.Config{ AccessKeyID: "YOUR-ACCESS-KEY-HERE", SecretAccessKey: "YOUR-PASSWORD-HERE", Endpoint: "https://s3.amazonaws.com", } s3Client, err := minio.New(config) if err != nil { log.Fatalln(err) } for bucket := range s3Client.ListBuckets() { if bucket.Err != nil { log.Fatalln(bucket.Err) } log.Println(bucket.Stat) } } Documentation Bucket Level MakeBucket(bucket, acl) error BucketExists(bucket) error RemoveBucket(bucket) error GetBucketACL(bucket) (BucketACL, error) SetBucketACL(bucket, BucketACL) error) ListBuckets() <-chan BucketStat ListObjects(bucket, prefix, recursive) <-chan ObjectStat ListIncompleteUploads(bucket, prefix, recursive) <-chan ObjectMultipartStat Object Level PutObject(bucket, object, size, io.Reader) error GetObject(bucket, object) (io.Reader, ObjectStat, error) GetPartialObject(bucket, object, offset, length) (io.Reader, ObjectStat, error) StatObject(bucket, object) (ObjectStat, error) RemoveObject(bucket, object) error RemoveIncompleteUpload(bucket, object) <-chan error Presigned Bucket/Object Level PresignedGetObject(bucket, object, time.Duration) (string, error) PresignedPutObject(bucket, object, time.Duration) (string, error) PresignedPostPolicy(NewPostPolicy()) (map[string]string, error) API Reference Contribute Contributors Guide