app

package
v0.0.0-...-4c68e2a Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "pipeline"

Variables

This section is empty.

Functions

func MD5

func MD5(path string) (string, error)

func MD5All

func MD5All(root string) (map[string][md5.Size]byte, error)

bounded concurrent implementation of md5all

func MD5Digester

func MD5Digester(done <-chan struct{}, paths <-chan string, c chan<- MD5Result)

func SHA256

func SHA256(path string) (string, error)

func SHA256All

func SHA256All(root string) (map[string][sha256.Size]byte, error)

bounded concurrent implementation of SHA256All

func SHA256Digester

func SHA256Digester(done <-chan struct{}, paths <-chan string, c chan<- SHA256Result)

func SerialMD5All

func SerialMD5All(root string) (map[string][md5.Size]byte, error)

serial implementation

func SetCfg

func SetCfg()

func Square

func Square(num ...string) (string, error)

Types

type MD5Result

type MD5Result struct {
	// contains filtered or unexported fields
}

MD5Result holds the MD5 info for a file.

type SHA256Result

type SHA256Result struct {
	// contains filtered or unexported fields
}

SHA256Result holds the info for SHA256 hashes

Jump to

Keyboard shortcuts

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