factory

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: GPL-3.0 Imports: 5 Imported by: 3

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