package
0.0.0-20221121043126-298dde518304
Repository: https://github.com/nitrictech/minio.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AddChecksumHeader will transfer any checksum value that has been checked.
GetContentChecksum returns content checksum.
NewChecksumFromData returns a new checksum from specified algorithm and base64 encoded value.
NewChecksumString returns a new checksum from specified algorithm and base64 encoded value.
NewChecksumType returns a checksum type based on the algorithm string.
NewChecksumWithType is similar to NewChecksumString but expects input algo of ChecksumType.
NewReader returns a new Reader that wraps src and computes MD5 checksum of everything it reads as ETag.
ReadCheckSums will read checksums from b and return them.
TransferChecksumHeader will transfer any checksum value that has been checked.
# Constants
ChecksumCRC32 indicates a CRC32 checksum with IEEE table.
ChecksumCRC32C indicates a CRC32 checksum with Castagnoli table.
ChecksumInvalid indicates an invalid checksum.
ChecksumNone indicates no checksum.
ChecksumSHA1 indicates a SHA-1 checksum.
ChecksumSHA256 indicates a SHA256 checksum.
ChecksumTrailing indicates the checksum will be sent in the trailing header.
MinIOMultipartChecksum is as metadata on multipart uploads to indicate checksum type.
# Variables
ErrInvalidChecksum is returned when an invalid checksum is provided in headers.
# Structs
BadDigest - Content-MD5 you specified did not match what we received.
Checksum is a type and base 64 encoded value.
ChecksumMismatch - when content checksum does not match with what was sent from client.
ErrSizeMismatch error size mismatch.
A Reader wraps an io.Reader and computes the MD5 checksum of the read content as ETag.
SHA256Mismatch - when content sha256 does not match with what was sent from client.
# Type aliases
ChecksumType contains information about the checksum type.