Files
simples3/README.md
T
2018-12-24 13:36:29 +05:30

942 B

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

Overview GoDoc Go Report Card

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:      AWSBucket,
    ObjectKey:   "test.txt",
    ContentType: "text/plain",
    FileName:    "test.txt",
    Body:        testTxt,
}

Contributing

ToDo.

Contributors

ToDo.

Author

ToDo.

License

MIT.