hashgen

package
v0.0.0-...-fc62fbc Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorUnsupportedHashFn = errors.New("unsupported hash function")

Functions

This section is empty.

Types

type HashGen

type HashGen struct {
	ID   uint
	Name string
	Gen  func() hash.Hash
}

func FromID

func FromID(id uint) (h HashGen, err error)

func FromName

func FromName(name string) (h HashGen, err error)

Jump to

Keyboard shortcuts

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