package
0.2.0
Repository: https://github.com/exlibris-fed/exlibris.git
Documentation: pkg.go.dev

# Functions

NewBook returns a new instance of a book.
NewUser creates a user and handles generating the ID, key and hashed password.

# Constants

ContextKeyAuthenticatedUser is the key to use for a User object that was retrieved from a JWT.
ContextKeyJWT is the key to use for a User's JWT in a context.
ContextKeyRead is the context key to use for the read action.
ContextKeyRequestedUser is the key to use for the username of the endpoint being requested.

# Structs

An APObject is an ActivityPub object (Read, Like, etc).
An Author is someone who has written a Book.
A Book is something that can be read.
BookAuthor is a many to many model describing the authors for books.
BookSubject for a book.
An OutboxEntry represents an entry in a user's AP outbox.
Read is a many to many model describing a user who read a book.
Review models a book review.
Subject for a book.
A User is a person interacting with the app.

# Interfaces

A Federater is a representation of a model as an ActivityPub object.

# Type aliases

A ContextKey is a key used to represent a model in a context.