crypters

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Catalog []*Item

Catalog is the list of registered vcs's.

Functions

func Register

func Register(name string, priority int, newfn NewFnSig)

Register a new VCS.

Types

type Crypter

type Crypter interface {
	models.Crypter
}

Crypter is the handle

func SearchByName

func SearchByName(name string, debug bool) Crypter

SearchByName returns a Crypter handle for name. The search is case insensitive.

type Item

type Item struct {
	Name     string
	New      NewFnSig
	Priority int
}

Item stores one item

type NewFnSig

type NewFnSig func(debug bool) (Crypter, error)

NewFnSig function signature needed by reg.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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