Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SHA1 校验和算法-sha1 SHA1 = "SHA1" // SHA256 校验和算法-sha256 SHA256 = "SHA256" // SHA512 校验和算法-sha512 SHA512 = "SHA512" )
Variables ¶
View Source
var ( // ErrUnsupportedChecksumAlgorithm 不支持的校验和算法 ErrUnsupportedChecksumAlgorithm = errors.New("unsupported checksum algorithm") // ErrChecksumNotMatched 校验和不匹配 ErrChecksumNotMatched = errors.New("file checksum does not match the computed checksum") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.