internal/

directory
v0.0.0-...-34eca9f Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: MIT

Directories

Path Synopsis
Package authctx carries the authenticated caller through an HTTP request.
Package authctx carries the authenticated caller through an HTTP request.
Package botctx defines the Identity that the gateway BotAuth middleware injects into request context after a successful Bot OpenAPI token check.
Package botctx defines the Identity that the gateway BotAuth middleware injects into request context after a successful Bot OpenAPI token check.
Package fanout owns best-effort pushes to the connections this gateway node holds; the broker/core path remains the cross-node path.
Package fanout owns best-effort pushes to the connections this gateway node holds; the broker/core path remains the cross-node path.
bot
ws
Package wshandler implements the gateway WebSocket endpoint: upgrade, the per-connection read loop and frame dispatch.
Package wshandler implements the gateway WebSocket endpoint: upgrade, the per-connection read loop and frame dispatch.
Package httperr owns the gateway's JSON response envelope and the mapping from errors to HTTP status codes.
Package httperr owns the gateway's JSON response envelope and the mapping from errors to HTTP status codes.
logic
bot
Package membership answers "is this caller a member of this conversation?" for gateway handlers.
Package membership answers "is this caller a member of this conversation?" for gateway handlers.
Package mqs subscribes the gateway to the topics it delivers to clients.
Package mqs subscribes the gateway to the topics it delivers to clients.
Package pbconv maps RPC responses onto the gateway REST DTOs so every REST surface serialises the same fields the same way.
Package pbconv maps RPC responses onto the gateway REST DTOs so every REST surface serialises the same fields the same way.
Package peerprofile fills the peer's display fields on friendship DTOs.
Package peerprofile fills the peer's display fields on friendship DTOs.
svc
svctest
Package svctest builds ServiceContext values for tests without dialing external services.
Package svctest builds ServiceContext values for tests without dialing external services.
ws
Package ws provides WebSocket frame codec helpers for the AIM gateway.
Package ws provides WebSocket frame codec helpers for the AIM gateway.
auth
Package wsauth provides JWT token extraction and validation for WebSocket connections.
Package wsauth provides JWT token extraction and validation for WebSocket connections.

Jump to

Keyboard shortcuts

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