Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SectionWriter ¶
type SectionWriter interface { hash.Hash // Write,Sum,Reset,Size,BlockSize SetWriter(hashFunc SectionWriterFunc) SectionWriter // chain another SectionWriter the current instance SetSpan(length int) // set data span of chunk SectionSize() int // section size of this SectionWriter Branches() int // branch factor of this SectionWriter }
type SectionWriterFunc ¶
type SectionWriterFunc func(ctx context.Context) SectionWriter
Click to show internal directories.
Click to hide internal directories.