password

command
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Command password is a minimal server with password login (net/http): users in password.MemoryStorage, sessions in memory, a JSON API behind session.Guard.RequireAPI, a page behind RequireUI, an admin-only route and logout. Replace MemoryStorage with your own password.Storage on your database (docs/migration.md has the SQL for every method) and the memory session backend with redisbackend before you run more than one replica.

Jump to

Keyboard shortcuts

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