Update README.md
This commit is contained in:
parent
da0a8b9c29
commit
95dded61a1
|
@ -13,7 +13,7 @@ $ go get -u gosrc.io/xmpp/cmd/xmpp-check
|
||||||
If you server is on standard port and XMPP domains matches the hostname you can simply use:
|
If you server is on standard port and XMPP domains matches the hostname you can simply use:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ xmpp-check myhost.net:5222 xmppdomain.net
|
$ xmpp-check myhost.net
|
||||||
2019/05/16 16:04:36 All checks passed
|
2019/05/16 16:04:36 All checks passed
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ You can also pass the port and the XMPP domain if different from the server host
|
||||||
|
|
||||||
```
|
```
|
||||||
$ xmpp-check myhost.net:5222 xmppdomain.net
|
$ xmpp-check myhost.net:5222 xmppdomain.net
|
||||||
2019/05/16 16:04:36 All checks passed
|
2019/05/16 16:05:21 All checks passed
|
||||||
```
|
```
|
||||||
|
|
||||||
Error code will be non-zero in case of error. You can thus use it directly with your usual
|
Error code will be non-zero in case of error. You can thus use it directly with your usual
|
||||||
|
|
Loading…
Reference in a new issue