cmdadmin

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2026 License: MIT Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cmdadmin holds the commands of the server's admin, on the base: create accounts, reset their password and change the server's secret.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUser

func AddUser(cobra *cobra.Command, args []string) error

AddUser creates an account.

func ResetPassword

func ResetPassword(cobra *cobra.Command, args []string) error

ResetPassword gives an account a new password and logs all its devices out: for a forgotten one.

func RotateSecret

func RotateSecret(cobra *cobra.Command, args []string) error

RotateSecret seals the keys of the accounts by TIDE_SECRET, in place of TIDE_OLD_SECRET.

func SeedPerf

func SeedPerf(cobra *cobra.Command, args []string) error

SeedPerf creates an account of generated notes, 50,000 unless args[1] says otherwise, to measure the app at scale.

Types

This section is empty.

Jump to

Keyboard shortcuts

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