File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ Configuration file is in json format like this:
29
29
{
30
30
"clients": [
31
31
{
32
+ "name": "client1",
32
33
"host":"0.0.0.0",
33
34
"port":18387,
34
35
"encrypt":"aes-128-cfb",
@@ -37,6 +38,7 @@ Configuration file is in json format like this:
37
38
"timeout":60
38
39
},
39
40
{
41
+ "name": "client2",
40
42
"host":"0.0.0.0",
41
43
"port":18388,
42
44
"encrypt":"aes-128-cfb",
Original file line number Diff line number Diff line change 1
1
{
2
2
"clients" : [
3
3
{
4
+ "name" : " client1" ,
4
5
"host" :" 0.0.0.0" ,
5
6
"port" :18387 ,
6
7
"encrypt" :" aes-128-cfb" ,
9
10
"timeout" :60
10
11
},
11
12
{
13
+ "name" : " client2" ,
12
14
"host" :" 0.0.0.0" ,
13
15
"port" :18388 ,
14
16
"encrypt" :" aes-128-cfb" ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ type ConnectionInfo struct {
9
9
Password string `json:"password"`
10
10
EnableOTA bool `json:"enableOTA"`
11
11
Timeout int `json:"timeout"`
12
- Name string `json:"name,omitempty "`
12
+ Name string `json:"name"`
13
13
14
14
//max connection for user
15
15
MaxConnection int
You can’t perform that action at this time.
0 commit comments