This commit is contained in:
Кобелев Андрей Андреевич 2022-08-15 23:22:19 +03:00
parent 4ea1a3802b
commit 8fac8ca4f6

View File

@ -18,8 +18,8 @@ func main() {
tcpAddr := flag.String("tcp", ":1883", "network address for TCP listener") tcpAddr := flag.String("tcp", ":1883", "network address for TCP listener")
wsAddr := flag.String("ws", ":1882", "network address for Websocket listener") wsAddr := flag.String("ws", ":1882", "network address for Websocket listener")
infoAddr := flag.String("info", ":8080", "network address for web info dashboard listener") infoAddr := flag.String("info", ":8080", "network address for web info dashboard listener")
certFile := flag.String("cert", "cert/fullchain.pem", "path the body of a public certificate") certFile := flag.String("cert", "/cert/fullchain.pem", "path the body of a public certificate")
keyFile := flag.String("key", "cert/privkey.pem", "path to body of a private key.") keyFile := flag.String("key", "/cert/privkey.pem", "path to body of a private key.")
flag.Parse() flag.Parse()