Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadSumer ¶ added in v0.12.0
type ReadSumer interface { io.Reader // Sum returns the hash of the data read so far. Sum(d []byte) []byte }
ReadSumer hashes all data read from the underlying reader.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer transparently hashes all data while writing it to the underlying writer.
Click to show internal directories.
Click to hide internal directories.