pwd

package
v0.0.0-...-4b3b651 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VerifyPwdNone = iota + 1
	VerifyPwdWithRunes
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultVerifyPwd

type DefaultVerifyPwd struct {
	OldPwd     string
	NewPwd     string
	Runes      string
	VerifyType int
	// contains filtered or unexported fields
}

func (*DefaultVerifyPwd) Verify

func (v *DefaultVerifyPwd) Verify() bool

func (*DefaultVerifyPwd) VerifyNoneFunc

func (v *DefaultVerifyPwd) VerifyNoneFunc() bool

func (*DefaultVerifyPwd) VerifyPwdWithRunesFunc

func (v *DefaultVerifyPwd) VerifyPwdWithRunesFunc() bool

func (*DefaultVerifyPwd) WithRunes

func (v *DefaultVerifyPwd) WithRunes(runes string) VerifyPwd

type VerifyPwd

type VerifyPwd interface {
	Verify() bool
	WithRunes(string) VerifyPwd
}

func NewVerifyPwd

func NewVerifyPwd(oldPwd, newPwd string, pwdCodingFunc func(pwd string) string) VerifyPwd

Jump to

Keyboard shortcuts

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