Documentation ¶
Overview ¶
Package sha1 provides resumable sha1 hashes based on the standard go library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResumableHash ¶
ResumableHash is the intefrace for a hash that can be stored and copied.
Unlike hash implementations in the standard library, it does not implement the encoding.BinaryMarshaler and encoding.BinaryUnmarshaler interfaces; however, it does provide a method for creating a copy of the underlying hash. This allows the hash to be stored, duplicated, and resumed at a later time. For convenience, it also provides a standard method for converting the hash into a string.
Click to show internal directories.
Click to hide internal directories.