algorithms

package
v0.0.0-...-eccd834 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENTITY = "ENTITY"
	DOMAIN = "DOMAIN"
)

Variables

View Source
var Algorithms = map[string]Creator{}
View Source
var Types = []string{ENTITY, DOMAIN}

Functions

func Add

func Add(name string, creator Creator)

func All

func All() (mods []urlinsane.Algorithm)

func IsType

func IsType(types []string, other string) bool

func List

func List(IDs ...string) (algos []urlinsane.Algorithm)

Types

type Creator

type Creator func() urlinsane.Algorithm

func Get

func Get(name string) (Creator, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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