mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Minor updates
This commit is contained in:
12
README.md
12
README.md
@@ -17,7 +17,7 @@ gnatsd -D -V
|
|||||||
Install the [Go NATS client](https://github.com/nats-io/nats/blob/master/README.md):
|
Install the [Go NATS client](https://github.com/nats-io/nats/blob/master/README.md):
|
||||||
|
|
||||||
```
|
```
|
||||||
go get github.com/nats-io/nats
|
go get github.com/nats-io/go-nats
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
@@ -30,7 +30,7 @@ The recommended way to install the NATS server is to [download](http://nats.io/d
|
|||||||
|
|
||||||
### Demo
|
### Demo
|
||||||
|
|
||||||
You can connect to a public NATS server that is running at our demo site: [nats://demo.nats.io:4222](nats://demo.nats.io:4222), and a secure version at [nats://demo.nats.io:4443](nats://demo.nats.io:4443). See the [protocol](#protocol) section for usage.
|
You can connect to a public NATS server that is running at our demo site: [nats://demo.nats.io:4222](nats://demo.nats.io:4222), and a secure version at [tls://demo.nats.io:4443](nats://demo.nats.io:4443). See the [protocol](#protocol) section for usage.
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
||||||
@@ -49,9 +49,9 @@ To start the NATS server with default settings (and no authentication or cluster
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
> ./gnatsd
|
> ./gnatsd
|
||||||
[2842] 2016/04/26 13:21:20.379640 [INF] Starting nats-server version 0.8.0
|
[37274] 2016/11/20 18:33:12.119961 [INF] Starting nats-server version 0.9.4
|
||||||
[2842] 2016/04/26 13:21:20.379745 [INF] Listening for client connections on 0.0.0.0:4222
|
[37274] 2016/11/20 18:33:12.120060 [INF] Listening for client connections on 0.0.0.0:4222
|
||||||
[2842] 2016/04/26 13:21:20.379865 [INF] Server is ready
|
[37274] 2016/11/20 18:33:12.120154 [INF] Server is ready
|
||||||
```
|
```
|
||||||
|
|
||||||
The server is started and listening for client connections on port 4222 (the default) from all available interfaces. The logs are displayed to stdout as shown above in the server output.
|
The server is started and listening for client connections on port 4222 (the default) from all available interfaces. The logs are displayed to stdout as shown above in the server output.
|
||||||
@@ -69,7 +69,7 @@ The NATS server uses a [text based protocol](http://nats.io/documentation/intern
|
|||||||
Trying 107.170.221.32...
|
Trying 107.170.221.32...
|
||||||
Connected to demo.nats.io.
|
Connected to demo.nats.io.
|
||||||
Escape character is '^]'.
|
Escape character is '^]'.
|
||||||
INFO {"server_id":"kG19DsXX1UVeSyEjhl3RFw","version":"0.8.0.beta","go":"go1.6.2","host":"0.0.0.0","port":4222, ...}
|
INFO {"server_id":"kG19DsXX1UVeSyEjhl3RFw","version":"0.9.4","go":"go1.6.3","host":"0.0.0.0","port":4222, ...}
|
||||||
SUB foo 1
|
SUB foo 1
|
||||||
+OK
|
+OK
|
||||||
PUB foo 11
|
PUB foo 11
|
||||||
|
|||||||
Reference in New Issue
Block a user