This commit is contained in:
chowyu08
2017-08-26 14:17:18 +08:00
parent 9e036ff724
commit 0bbcaa582a
6 changed files with 188 additions and 18 deletions
+18 -1
View File
@@ -21,7 +21,20 @@ $ go run main.go
"host": "0.0.0.0",
"port": "1993",
"routers": ["10.10.0.11:1993","10.10.0.12:1993"]
}
},
"wsPort": "1888",
"wsPath": "/ws",
"wsTLS": true,
"tlsPort": "8883",
"tlsHost": "0.0.0.0",
"tlsInfo": {
"verify": true,
"caFile": "tls/ca/cacert.pem",
"certFile": "tls/server/cert.pem",
"keyFile": "tls/server/key.pem"
},
"acl":true,
"aclConf":"conf/acl.conf"
}
~~~
@@ -37,6 +50,10 @@ $ go run main.go
* Queue subscribe
* Websocket Support
* TLS/SSL Support
### QUEUE SUBSCRIBE
| Prefix | Examples |