Reference
This section describes every Behemoth plugin and component: options, routes, error codes, hook points, and behavior. It is for developers who build on Behemoth and need the complete answer. To get started, read the Quick Start guide first.
Plugins #
- Email and password: Sign-up, sign-in, sign-out, and password reset.
- Username: Unique usernames and sign-in with them.
- Phone number: Confirm a number with a one-time code, and sign in with it.
- Magic link: Sign in with a link sent by email.
- Email verification: Confirm that a user controls an email address.
Core #
- Sessions: Configuration, transports, and protecting your own routes.
- Hooks: Run your code at fixed points in Behemoth's work.
- Routers: Adapters for
net/http, Gin, Echo, chi, and Fiber. - Core tables: Write Behemoth's tables from a plugin.
- Mail: Hand messages to your mail sender.
- SMS: Hand text messages and one-time codes to your SMS sender.
- Telemetry: Logs, audit events, metrics, and traces.
Database #
- MongoDB: What differs when Behemoth runs on MongoDB.
Tools #
- Migration CLI: Generate migrations for your database.