mirror of
https://github.com/block/buzz.git
synced 2026-12-01 05:32:24 +00:00
Add an opt-in single-channel local IFC broker
Signed-off-by: Jordan Mecom <jm@squareup.com>
This commit is contained in:
@@ -20,6 +20,13 @@ export BUZZ_PRIVATE_KEY="nsec1..."
|
||||
buzz channels list
|
||||
```
|
||||
|
||||
## Local broker prototype
|
||||
|
||||
On Unix, `buzz broker serve` holds the key for one fixed channel;
|
||||
`buzz broker read` and `buzz broker reply` use its socket without a key.
|
||||
This is opt-in and does not isolate the broker from other same-user processes.
|
||||
See [setup and limits](src/broker/README.md).
|
||||
|
||||
## Usage
|
||||
|
||||
All output is JSON on stdout. Errors are JSON on stderr. Exit codes: 0=ok, 1=user error, 2=network, 3=auth, 4=other, 5=write conflict.
|
||||
|
||||
Reference in New Issue
Block a user