password

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	GeneratePassword(length int) (string, error)
	GenerateHtpasswd(username string, password string) (string, error)
}

type SimpleManager

type SimpleManager struct {
}

func (SimpleManager) GenerateHtpasswd added in v0.1.0

func (m SimpleManager) GenerateHtpasswd(username, password string) (string, error)

func (SimpleManager) GeneratePassword

func (m SimpleManager) GeneratePassword(length int) (string, error)

Jump to

Keyboard shortcuts

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