passage

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 2 Imported by: 0

README

passage-go

Go based Passage library/client (See https://git.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) GetLowers added in v1.1.0

func (p *Passage) GetLowers() string

func (*Passage) GetNumbers added in v1.1.0

func (p *Passage) GetNumbers() string

func (*Passage) GetPassword

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

func (*Passage) GetSymbols added in v1.1.0

func (p *Passage) GetSymbols() string

func (*Passage) GetUppers added in v1.1.0

func (p *Passage) GetUppers() string

func (*Passage) GetValidCharSets added in v1.1.0

func (p *Passage) GetValidCharSets() []string

func (*Passage) GetValidChars

func (p *Passage) GetValidChars() string

func (*Passage) SetLength added in v1.1.0

func (p *Passage) SetLength(length int)

func (*Passage) SetPin

func (p *Passage) SetPin(pin string)

func (*Passage) SetRequireEachCharSet added in v1.1.0

func (p *Passage) SetRequireEachCharSet(r bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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