Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAlgorithm ¶
func GetAlgorithm(name string) (algo interfaces.IAlgorithm, err error)
GetAlgorithm returns an aglorithm registered under the provided name or an error
func RegisterAlgorithm ¶
func RegisterAlgorithm(name string, factory func() (interfaces.IAlgorithm, error))
RegisterAlgorithm registers an new algorithm factory function. This function should be called from the init() function of the algorithm.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.