lib

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitStore

type InitStore struct {
	C                 *fiber.App
	PrivateAPI        fiber.Router
	UiAssets          embed.FS
	RetrievedSettings *settings.Settings
	CookieStore       *session.Store
	Store             db.DataStore
	Handler           *ws.PadMessageHandler
	PadManager        *pad2.Manager
	Validator         *validator.Validate
	Logger            *zap.SugaredLogger
	Hooks             *hooks.Hook
	ReadOnlyManager   *pad2.ReadOnlyManager
	SecurityManager   *pad2.SecurityManager
	AuthorManager     *author.Manager
	Importer          *io.Importer
}

Directories

Path Synopsis
api
io
pad
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).
db
db
pad
ws
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.
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.
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
ws
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.
ws

Jump to

Keyboard shortcuts

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