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. |
|
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
|
|
|
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. |
|
svctest
Package svctest builds ServiceContext values for tests without dialing external services.
|
Package svctest builds ServiceContext values for tests without dialing external services. |
|
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. |
Click to show internal directories.
Click to hide internal directories.