package
0.0.0-20221121043126-298dde518304
Repository: https://github.com/nitrictech/minio.git
Documentation: pkg.go.dev
# Functions
Decrypt decrypts the ETag with the given key.
Equal returns true if and only if the two ETags are identical.
FromContentMD5 decodes and returns the Content-MD5 as ETag, if set.
Get extracts and parses an ETag from the given HTTP headers.
Multipart computes an S3 multipart ETag given a list of S3 singlepart ETags.
NewReader returns a new Reader that computes the MD5 checksum of the content read from r as ETag.
Parse parses s as an S3 ETag, returning the result.
Set adds the ETag to the HTTP headers.
Wrap returns an io.Reader that reads from the wrapped io.Reader and implements the Tagger interaface.
# Structs
A Reader wraps an io.Reader and computes the MD5 checksum of the read content as ETag.
VerifyError is an error signaling that a computed ETag does not match an expected ETag.
# Interfaces
Tagger is the interface that wraps the basic ETag method.
# Type aliases
ETag is a single S3 ETag.