我正在尝试将来自服务器的字符串响应解析为 JSON 格式。我是 golang 的新手,需要一些帮助来理解实现解决方案的正确方法。这是我从服务器得到的响应 -Test 1: local 1.1.1.1 remote 2.2.2.2 state GOODTest ID: 2.2.2.2Test Type: ABDAdmin State: STARTDFD: DisabledAddress family: ipv4-unicast Options: < Refresh > Updates Received: 0, Updates Sent: 7Data Received: 853, Data Sent: 860Time since last received update: n/aNumber of transitions to GOOD: 1Time since last entering GOOD state: 22384 secondsRetry Interval: 120 secondsHold Time: 90 seconds, Keep Test Time: 30 secondsTest 2: local 1.1.1.1 remote 2.2.2.2 state GOODTest ID: 2.2.2.2Test Type: ABDAdmin State: STARTDFD: DisabledAddress family: ipv4-unicast Options: < Refresh > Updates Received: 0, Updates Sent: 7Data Received: 853, Data Sent: 860Time since last received update: n/aNumber of transitions to GOOD: 1Time since last entering GOOD state: 22384 secondsRetry Interval: 120 secondsHold Time: 90 seconds, Keep Test Time: 30 secondsTest 3: local 1.1.1.1 remote 2.2.2.2 state GOODTest ID: 2.2.2.2Test Type: ABDAdmin State: STARTDFD: DisabledAddress family: ipv4-unicast Options: < Refresh > Updates Received: 0, Updates Sent: 7Data Received: 853, Data Sent: 860Time since last received update: n/aNumber of transitions to GOOD: 1Time since last entering GOOD state: 22384 secondsRetry Interval: 120 secondsHold Time: 90 seconds, Keep Test Time: 30 seconds谢谢。
1 回答
- 1 回答
- 0 关注
- 344 浏览
添加回答
举报
0/150
提交
取消