generator

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: MIT Imports: 11 Imported by: 1

Documentation

Overview

You can use the "packr clean" command to clean up this, and any other packr generated files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XKPassword

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

XKPassword is a generator of XKCD-style memorable passwords.

func NewXKPassword

func NewXKPassword(cfg *config.GeneratorConfig) *XKPassword

NewXKPassword returns a new configured XKCD password generator.

func (*XKPassword) Generate

func (xk *XKPassword) Generate() (pw string, err error)

Generate returns a new generated password.

Jump to

Keyboard shortcuts

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