git ssb

2+

cel / ssb-party



Commit 7068faafc54e465ef9e3fd206b89197e623f2386

Update readme

cel committed on 3/19/2017, 5:43:43 PM
Parent: a468209c4f9bcc7525a6218d3a9445ce673b3822

Files changed

README.mdchanged
README.mdView
@@ -7,24 +7,21 @@
77 ```js
88 var createSsbParty = require('ssb-party')
99 ```
1010
11-### `createSsbParty([[keys, ]opts, ]cb)`
11 +### `createSsbParty([opts, ]cb)`
1212
13-optional arguments:
14-
15-- `keys`: an [ssb-keys][] instance
16-- `opts.host`: host to connect to or start the server on
17-- `opts.port`: port to connect to or start the server on
18-- `opts.appKey`: secret-stack capability key (Buffer)
13 +- `opts.keys`: an [ssb-keys][] instance. default loads from `~/.ssb/secret`
14 +- `opts.host`: host to connect to or start the server on. default `"localhost"`
15 +- `opts.port`: port to connect to or start the server on. default 8008
16 +- `opts.appKey`: secret-stack capability key (Buffer). default sbot's appKey
1917 - `opts.out`: where to put standard output of sbot
2018 - `opts.err`: where to put standard error of sbot
2119
2220 `opts.out` and `opts.err` may be a file descriptor, or `"inherit"` to pass through to the controlling terminal, or `"ignore"` to discard. default is to log to a file, `~/.ssb/out.log`.
2321
2422 Other properties of the `opts` object will be used as [ssb-config][]
25-overrides, but if the server is already running, the existing server's config
26-will not be updated.
23 +overrides, but if the server is already running, these will not affect the existing server's config.
2724
2825 ### Example
2926
3027 simplest case: connect to or start a local sbot:

Built with git-ssb-web