core

package
v0.0.0-...-3e9567e Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPassword

func CheckPassword(hash string, password string) bool

func Duplicate

func Duplicate(list []string) error

Types

type Option

type Option struct {
	Label string
	Value string
}

type Password

type Password struct {
	Value string
	Hash  string
	State PasswordState
}

func GeneratePassword

func GeneratePassword() (*Password, error)

type PasswordState

type PasswordState string
const (
	CHANGE  PasswordState = "CHANGE"
	CHANGED PasswordState = "CHANGED"
)

type Reference

type Reference struct {
	Id    string
	Value string
}

Jump to

Keyboard shortcuts

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