passage

package module
v0.0.0-...-9c2dc03 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 2 Imported by: 0

README

passage-go

Go based Passage library/client (See http://gogs.bullercodeworks.com/brian/passage for PHP implementation)

Documentation

Index

Constants

View Source
const (
	UseLower = 1 << iota
	UseUpper
	UseNumber
	UseSymbol
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Passage

type Passage struct {
	// contains filtered or unexported fields
}

func CreatePassage

func CreatePassage(pin string) *Passage

func (*Passage) DisableChars

func (p *Passage) DisableChars(which int)

func (*Passage) EnableChars

func (p *Passage) EnableChars(which int)

func (*Passage) GetChecksum

func (p *Passage) GetChecksum() int

func (*Passage) GetChecksumAsString

func (p *Passage) GetChecksumAsString() string

func (*Passage) GetPassword

func (p *Passage) GetPassword(door string) string

func (*Passage) GetValidChars

func (p *Passage) GetValidChars() string

func (*Passage) SetPin

func (p *Passage) SetPin(pin string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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