internal/

directory
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0, MIT

Directories

Path Synopsis
Package app wires the edge together.
Package app wires the edge together.
Package config reads the edge's configuration from the environment.
Package config reads the edge's configuration from the environment.
Package core is the only package that speaks gRPC to the wamux daemon.
Package core is the only package that speaks gRPC to the wamux daemon.
Package dashboard serves the web panel at /dashboard: pair sessions, start and stop them, edit their webhooks and metadata, and manage API keys.
Package dashboard serves the web panel at /dashboard: pair sessions, start and stop them, edit their webhooks and metadata, and manage API keys.
Package events publishes WAHA events: it builds the envelope, picks the webhooks that want the event and appends both to the store in one transaction.
Package events publishes WAHA events: it builds the envelope, picks the webhooks that want the event and appends both to the store in one transaction.
Package fakecore is an in-process wamux daemon on a Unix socket, for tests.
Package fakecore is an in-process wamux daemon on a Unix socket, for tests.
Package httpapi serves WAHA's HTTP API.
Package httpapi serves WAHA's HTTP API.
Package ingest turns the core's events for a session into WAHA: stored messages, chats and contacts, and published WAHA events.
Package ingest turns the core's events for a session into WAHA: stored messages, chats and contacts, and published WAHA events.
Package media moves files in and out of WhatsApp for the edge: it fetches the URLs clients send (behind an SSRF guard), converts voice and video with ffmpeg, and serves received media under /api/files, downloading it from the core on first request.
Package media moves files in and out of WhatsApp for the edge: it fetches the URLs clients send (behind an SSRF guard), converts voice and video with ffmpeg, and serves received media under /api/files, downloading it from the core on first request.
Package sessions runs WAHA sessions on wamux accounts.
Package sessions runs WAHA sessions on wamux accounts.
Package store is the edge's persistence, behind the Store interface.
Package store is the edge's persistence, behind the Store interface.
sqlite
Package sqlite implements store.Store on SQLite (modernc.org/sqlite, no cgo).
Package sqlite implements store.Store on SQLite (modernc.org/sqlite, no cgo).
storetest
Package storetest is the conformance suite every store engine must pass.
Package storetest is the conformance suite every store engine must pass.
Package testenv runs the whole edge for integration tests: a fake core on a Unix socket, a SQLite store in a temp dir, the background loops and the HTTP API on an httptest server.
Package testenv runs the whole edge for integration tests: a fake core on a Unix socket, a SQLite store in a temp dir, the background loops and the HTTP API on an httptest server.
Package waha holds WAHA's data model: ids, message and event payloads.
Package waha holds WAHA's data model: ids, message and event payloads.
Package webhooks delivers the outbox: every process claims due deliveries from the store, sends them the way WAHA does (headers, HMAC, retries) and records the outcome.
Package webhooks delivers the outbox: every process claims due deliveries from the store, sends them the way WAHA does (headers, HMAC, retries) and records the outcome.

Jump to

Keyboard shortcuts

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