modulepackage
0.0.0-20201210185520-7431f770a9bf
Repository: https://github.com/cjslep/eris.git
Documentation: pkg.go.dev
# README
Eris
A work-in-progress implementation of Eris.
Experimental. Should not be used for anything whatsoever.
The testdata is copied from the canonical Eris repository, please see their associated licenses.
# Functions
Decode streams decrypted content to the writer, using the Storage to fetch successive content-addressed encrypted blocks descendent of the root reference.
Encode1KiB encodes bytes from the given Reader into 1 kibibyte blocks, emitting the blocks to the WriteFunc as data is streamed in from the Reader.
Encode32KiB encodes bytes from the given Reader into 32 kibibyte blocks, emitting the blocks to the WriteFunc as data is streamed in from the Reader.
# Interfaces
Storage fetches a block's encrypted bytes given a particular reference, or returns an error if it is unable to do so.