file

package
v0.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL