Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
assets
|
|
|
Package docs Code generated by swaggo/swag.
|
Package docs Code generated by swaggo/swag. |
|
accounts
Package accounts is etherpad-go's account management: accounts (people, service accounts and the anonymous visitor), roles built from scopes, role assignments limited to pad patterns, and the rules that keep an instance from locking itself out or opening up by mistake.
|
Package accounts is etherpad-go's account management: accounts (people, service accounts and the anonymous visitor), roles built from scopes, role assignments limited to pad patterns, and the rules that keep an instance from locking itself out or opening up by mistake. |
|
accounts/admincli
Package admincli is "etherpad-go admin": creating admins, resetting passwords and listing accounts from the command line, on the database of the settings.
|
Package admincli is "etherpad-go admin": creating admins, resetting passwords and listing accounts from the command line, on the database of the settings. |
|
api/legacy
Package legacy serves etherpad-lite's HTTP API, /api/{version}/{function}, for clients written against it (Moodle, Nextcloud, WordPress plugins and the like).
|
Package legacy serves etherpad-lite's HTTP API, /api/{version}/{function}, for clients written against it (Moodle, Nextcloud, WordPress plugins and the like). |
|
api/mcp
Package mcp serves the Model Context Protocol at /mcp: AI clients (Claude, …) read and edit pads and use their chat with a token (Authorization: Bearer ep_…).
|
Package mcp serves the Model Context Protocol at /mcp: AI clients (Claude, …) read and edit pads and use their chat with a token (Authorization: Bearer ep_…). |
|
api/padlogin
Package padlogin is the optional login on pads: a person logs in on Etherpad's own OpenID Connect provider and keeps a session cookie; who does not log in has the visitors' rights (lib/accounts).
|
Package padlogin is the optional login on pads: a person logs in on Etherpad's own OpenID Connect provider and keeps a session cookie; who does not log in has the visitors' rights (lib/accounts). |
|
api/session
Package session implements the Etherpad API session endpoints (createSession, getSessionInfo, deleteSession, listSessionsOfGroup, listSessionsOfAuthor from the original HTTP API).
|
Package session implements the Etherpad API session endpoints (createSession, getSessionInfo, deleteSession, listSessionsOfGroup, listSessionsOfAuthor from the original HTTP API). |
|
api/tokentransfer
Package tokentransfer moves an author's identity to another browser (etherpad-lite's /tokenTransfer): the first browser asks for a code, the second redeems it within five minutes, once, and gets the same author token as an HttpOnly cookie plus the pad preferences.
|
Package tokentransfer moves an author's identity to another browser (etherpad-lite's /tokenTransfer): the first browser asks for a code, the second redeems it within five minutes, once, and gets the same author token as an HttpOnly cookie plus the pad preferences. |
|
api/versionstatus
Package versionstatus answers /api/version-status: whether to tell the visitor of a pad that this Etherpad is a minor version or more behind.
|
Package versionstatus answers /api/version-status: whether to tell the visitor of a pad that this Etherpad is a minor version or more behind. |
|
apikeys
Package apikeys manages the keys of the HTTP API (/api).
|
Package apikeys manages the keys of the HTTP API (/api). |
|
cluster
Package cluster passes live updates between Etherpad instances that share one database.
|
Package cluster passes live updates between Etherpad instances that share one database. |
|
compact
Package compact is "etherpad-go compact": etherpad-lite's bin/compactPad, bin/compactAllPads and bin/compactStalePads as a command of the binary.
|
Package compact is "etherpad-go compact": etherpad-lite's bin/compactPad, bin/compactAllPads and bin/compactStalePads as a command of the binary. |
|
lifecycle
Package lifecycle tracks whether this instance should receive traffic: not before it has started, and no longer once it is shutting down.
|
Package lifecycle tracks whether this instance should receive traffic: not before it has started, and no longer once it is shutting down. |
|
mail
Package mail sends plain-text notices through an SMTP server (the updater's mails to the admin).
|
Package mail sends plain-text notices through an SMTP server (the updater's mails to the admin). |
|
metrics
Package metrics holds the Prometheus instruments on the hot path of the pad message handler: etherpad-lite's prom-instruments (scaling dive, #7756).
|
Package metrics holds the Prometheus instruments on the hot path of the pad message handler: etherpad-lite's prom-instruments (scaling dive, #7756). |
|
paddiff
Package paddiff is a port of the original Etherpad src/node/utils/padDiff.ts.
|
Package paddiff is a port of the original Etherpad src/node/utils/padDiff.ts. |
|
security
Package security provides the SecretRotator, a port of Etherpad's src/node/security/SecretRotator.ts.
|
Package security provides the SecretRotator, a port of Etherpad's src/node/security/SecretRotator.ts. |
|
skin
Package skin knows what the server needs about the skins: the toolbar colour of the colibris variants, for the theme-color meta.
|
Package skin knows what the server needs about the skins: the toolbar colour of the colibris variants, for the theme-color meta. |
|
socialmeta
Package socialmeta builds the Open Graph + Twitter Card <meta> tag block emitted on the homepage, pad page, and timeslider so URLs shared in chat apps (WhatsApp, Signal, Slack, ...) unfurl with a preview.
|
Package socialmeta builds the Open Graph + Twitter Card <meta> tag block emitted on the homepage, pad page, and timeslider so URLs shared in chat apps (WhatsApp, Signal, Slack, ...) unfurl with a preview. |
|
test/testdb
Package testdb gives tests one shared Postgres and one shared MariaDB server per machine, and isolated databases on them.
|
Package testdb gives tests one shared Postgres and one shared MariaDB server per machine, and isolated databases on them. |
|
tokens
Package tokens manages the tokens of accounts: API keys with their own scopes, pad pattern and expiry.
|
Package tokens manages the tokens of accounts: API keys with their own scopes, pad pattern and expiry. |
|
updater
Package updater implements Etherpad-Go's self-update subsystem: a tiered (off / notify / manual / auto / autonomous) updater that checks GitHub releases, and — for writable single-binary installs — downloads the matching release binary, verifies it, atomically replaces the running executable and exits with code 75 so a process supervisor restarts into the new version.
|
Package updater implements Etherpad-Go's self-update subsystem: a tiered (off / notify / manual / auto / autonomous) updater that checks GitHub releases, and — for writable single-binary installs — downloads the matching release binary, verifies it, atomically replaces the running executable and exits with code 75 so a process supervisor restarts into the new version. |
Click to show internal directories.
Click to hide internal directories.