server

module
v0.0.0-...-fa82db8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: AGPL-3.0

README

MoldChat server

Single Go module. The server stores opaque ciphertext blobs addressed by queue ID and routes them to recipients. It does not see senders, recipients, contents, social graphs, or message-timing semantics beyond what is required for delivery.

  • cmd/moldd/ — server entry point
  • internal/ — private packages (not importable from outside the module)
  • api/ — Protobuf and OpenAPI schemas

Directories

Path Synopsis
cmd
moldd command
Command moldd is the MoldChat relay server.
Command moldd is the MoldChat relay server.
internal
anonauth
Package anonauth implements anonymous, rate-limited credentials for gating message-send operations.
Package anonauth implements anonymous, rate-limited credentials for gating message-send operations.
anonauth/sqlitestore
Package sqlitestore is the SQLCipher-backed implementation of anonauth.PseudonymStore.
Package sqlitestore is the SQLCipher-backed implementation of anonauth.PseudonymStore.
api/v1
Package v1 implements the HTTP API for opaque message queues.
Package v1 implements the HTTP API for opaque message queues.
auth
Package auth implements challenge-response authentication for queue owner-only operations.
Package auth implements challenge-response authentication for queue owner-only operations.
health
Package health provides liveness HTTP handlers used by load balancers and orchestration to determine instance health.
Package health provides liveness HTTP handlers used by load balancers and orchestration to determine instance health.
queue
Package queue defines the domain types for opaque message queues.
Package queue defines the domain types for opaque message queues.
smoke
Package smoke holds the binary-level smoke test suite.
Package smoke holds the binary-level smoke test suite.
storage
Package storage defines the persistence interface used by the API layer.
Package storage defines the persistence interface used by the API layer.
storage/cleanup
Package cleanup runs periodic deletion of expired queues from a Cleaner.
Package cleanup runs periodic deletion of expired queues from a Cleaner.
storage/memory
Package memory is an in-memory implementation of storage.Storage.
Package memory is an in-memory implementation of storage.Storage.
storage/snapshot
Package snapshot runs periodic online backups of a Snapshotter to a destination directory.
Package snapshot runs periodic online backups of a Snapshotter to a destination directory.
storage/sqlite
Package sqlite implements storage.Storage on top of a SQLCipher-encrypted SQLite database.
Package sqlite implements storage.Storage on top of a SQLCipher-encrypted SQLite database.

Jump to

Keyboard shortcuts

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