Registry / auth / tg123-go-htpasswd

tg123-go-htpasswd

JSON →
library1.2.4gogounverified

Go-htpasswd provides HTTP Basic Authentication using Apache-style htpasswd and group files.

go get github.com/tg123/go-htpasswd
INSTALL
IMPORT
SIG · TG123-GO-HTPASSWD
T
tg123-go-htpasswd
authgov1.2.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

htpasswd
github.com/tg123/go-htpasswd

Validates a username and password against an htpasswd file.

package main import ( "fmt" "github.com/tg123/go-htpasswd" ) func main() { auth, err := htpasswd.New(".htpasswd", htpasswd.DefaultSystems, nil) if err != nil { panic(err) } fmt.Println(auth.Match("user", "password")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Resources
tg123-go-htpasswd — go get tg123-go-htpasswd · libregistry