Documentation ¶ Index ¶ type Factory type Type Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Factory ¶ type Factory interface { New() hash.Hash Type() Type } Factory defines the record hash factory interface type Type ¶ type Type int Type defines the kind of hash const ( // NoOp type for no op hash NoOp Type = iota // SHA256 type for SHA2 hashing SHA256 // MD5 type for MD5 hashing MD5 // Adler32 type for adler32 CRC Adler32 ) Source Files ¶ View all Source files hash.go Directories ¶ Show internal Expand all Path Synopsis adler32 md5 noop sha256 Click to show internal directories. Click to hide internal directories.