package
Version:
v0.0.0-...-1d4cd3d
Opens a new window with list of versions in this module.
Published: Dec 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package user handles user registration.
-
func Create(ctx context.Context, domain string, db *sql.DB, name string, ...) (*ap.Actor, httpsig.Key, error)
-
func CreateNobody(ctx context.Context, domain string, db *sql.DB) (*ap.Actor, httpsig.Key, error)
Create creates a new user.
CreateNobody creates the special "nobdoy" user.
This user is used to sign outgoing requests not initiated by a particular user.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.