Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
authctx
Package authctx carries the authenticated caller through an HTTP request.
|
Package authctx carries the authenticated caller through an HTTP request. |
|
botctx
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. |
|
fanout
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. |
|
handler/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. |
|
httperr
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. |
|
membership
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. |
|
mqs
Package mqs subscribes the gateway to the topics it delivers to clients.
|
Package mqs subscribes the gateway to the topics it delivers to clients. |
|
pbconv
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. |
|
peerprofile
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. |
|
ws/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.