basic

package
v7.0.0-...-1c7ecba Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator interface {
	Validate(user, password string) bool
}

Validator is a minimal interface for something that can validate a username and password combination.

func NewHTPasswdValidator

func NewHTPasswdValidator(path string) (Validator, error)

NewHTPasswdValidator constructs an httpasswd based validator from the file at the path given.

Jump to

Keyboard shortcuts

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