factory

package
v1.0.112 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoHasherInConfig = errors.New("no hasher provided in config file")

ErrNoHasherInConfig signals that no hasher was provided in the config file

Functions

func NewHasher

func NewHasher(name string) (hashing.Hasher, error)

NewHasher will return a new instance of hasher based on the value stored in config

Types

This section is empty.

Jump to

Keyboard shortcuts

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