Discover Packages
github.com/function61/gokit
io
hashverifyreader
package
Version:
v0.0.0-...-a5f7211
Opens a new window with list of versions in this module.
Published: Apr 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
If you know the hash of a stream beforehand, wrap it with this to get
integrity-verified io.Reader
creates a two-part reader whose first part is connected to source, and the second part
(= when source read to EOF) Read() (on hashVerifyReader) immediately returns EOF if hash matches
Source Files
¶
Click to show internal directories.
Click to hide internal directories.