package
1.99.1
Repository: https://github.com/pendo-io/aws-sdk-go.git
Documentation: pkg.go.dev

# README

Example

This example shows how you could wrap the reader of an file being uploaded to Amazon S3 with a logger that will log the usage of the reader, and print call stacks when the reader's Read, Seek, or ReadAt methods encounter an error.

Usage

This bucket uses the bucket name, key, and local file name passed to upload the local file to S3 as the key into the bucket.

AWS_REGION=us-west-2 AWS_PROFILE=default go run . "mybucket" "10MB.file" ./10MB.file

# Functions

NewReadLogger a ReadLogger that wraps the passed in ReadSeeker (Reader, Seeker, ReadAt) with a logger.

# Structs

ReadLogger wraps an reader with logging for access.

# Interfaces

Logger is a logger use for logging the readers usage.
ReadSeeker interface provides the interface for a Reader, Seeker, and ReadAt.