(response *agent.SyncResponse)
| 536 | } |
| 537 | |
| 538 | func AipGroups(response *agent.SyncResponse) { |
| 539 | groups := agent.Groups{} |
| 540 | fmt.Println("Groups version:", response.GetVersionGroups()) |
| 541 | |
| 542 | if groupsCompressed := response.GetGroups(); groupsCompressed != nil { |
| 543 | if err := groups.Unmarshal(groupsCompressed); err == nil { |
| 544 | fmt.Println("Groups data:") |
| 545 | for index, entry := range groups.Groups { |
| 546 | AJsonFormat(index+1, entry) |
| 547 | } |
| 548 | } |
| 549 | } |
| 550 | } |
| 551 | |
| 552 | func AformatString(data *agent.Interface) string { |
| 553 | buffer := bytes.Buffer{} |
nothing calls this directly
no test coverage detected