Documentation
¶
Overview ¶
Package gateway holds what every Brigade gateway shares: the harness-name prefix that marks a session as a gateway.
Index ¶
Constants ¶
const HarnessPrefix = "gateway-"
HarnessPrefix marks a gateway's harness name: the hosted mail and Slack gateways ("gateway-email", "gateway-slack") and the self-hosted webhook gateway ("gateway-webhook"). It is not a wire rule (`harness` is free text and protocol.Validate says nothing about this prefix), so it lives outside the frozen internal/protocol, but it is the single Go spelling every consumer agrees on: a gateway is left off the rosters shown to people and is never the session a `--member` message is routed to. The Edge Functions keep their own copy of the prefix (supabase/functions/_shared/gateway.ts).
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package webhook is the Brigade webhook gateway: an ordinary team member that forwards its inbox to an HTTPS endpoint and turns signed HTTP POSTs back into Brigade messages.
|
Package webhook is the Brigade webhook gateway: an ordinary team member that forwards its inbox to an HTTPS endpoint and turns signed HTTP POSTs back into Brigade messages. |