Documentation ¶
Index ¶
- func GetHash(name string) (hash.Hash, error)
- type Compressor
- type Hasher
- func NewHasher(name string) (*Hasher, error)
- func NewHasherReader(hash string, target io.Reader) (io.Reader, *Hasher, error)
- func NewHasherReaders(hashes []string, target io.Reader) (io.Reader, []*Hasher, error)
- func NewHasherWriter(hash string, target io.Writer) (io.Writer, *Hasher, error)
- func NewHasherWriters(hashes []string, target io.Writer) (io.Writer, []*Hasher, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Compressor ¶
type Compressor func(io.Writer) (io.WriteCloser, error)
func GetCompressor ¶
func GetCompressor(name string) (Compressor, error)
type Hasher ¶
type Hasher struct {
// contains filtered or unexported fields
}
func NewHasherReader ¶
func NewHasherReaders ¶
func NewHasherWriter ¶
func NewHasherWriters ¶
Click to show internal directories.
Click to hide internal directories.