936 B
936 B
simples3 : Simple no frills AWS S3 Library using REST with V4 Signing
Overview

SimpleS3 is a golang library for uploading and deleting objects on S3 buckets using the REST API calls signed using AWS Signature Version 4
Install
go get github.com/rhnvrm/simples3
Example
testTxt, _ := os.Open("test.txt")
defer testTxt.Close()
s3 := simples3.New(Region, AWSAccessKey, AWSSecretKey)
err := s3.FileUpload(simples3.UploadInput{
Bucket: "zerodha-testbucket",
ObjectKey: "test.txt",
ContentType: "text/plain",
FileName: "test.txt",
Body: testTxt,
}
Contributing
ToDo.
Contributors
ToDo.
Author
ToDo.
License
MIT.