user

package
v0.0.0-...-ba5aec8 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package user handles user registration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, domain string, db *sql.DB, name, certHash string) (*ap.Actor, httpsig.Key, error)

Create creates a new user.

func CreateNobody

func CreateNobody(ctx context.Context, domain string, db *sql.DB) (*ap.Actor, httpsig.Key, error)

CreateNobody creates the special "nobdoy" user. This user is used to sign outgoing requests not initiated by a particular user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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