(configPath string)
| 72 | } |
| 73 | |
| 74 | func diagnosticsReadme(configPath string) string { |
| 75 | return fmt.Sprintf(`GooseRelayVPN diagnostics bundle |
| 76 | |
| 77 | This zip is designed to be shared for debugging. |
| 78 | |
| 79 | Included: |
| 80 | - diagnostics.json: structured runtime and non-secret config summary. |
| 81 | - runtime.txt: OS/arch/Go runtime/process summary. |
| 82 | - goroutine.txt: current goroutine profile. |
| 83 | - heap.txt: heap profile summary. |
| 84 | - client_config.redacted.json: parsed client config with secrets and endpoint identifiers redacted. |
| 85 | |
| 86 | Not included: |
| 87 | - raw tunnel keys, SOCKS passwords, Apps Script deployment IDs, or full relay URLs. |
| 88 | - packet captures or user browsing data. |
| 89 | |
| 90 | Config source: %s |
| 91 | Generated at: %s |
| 92 | `, configPath, time.Now().Format(time.RFC3339)) |
| 93 | } |
| 94 | |
| 95 | func diagnosticsRuntime(configPath, version string) string { |
| 96 | cwd, _ := os.Getwd() |
no outgoing calls
no test coverage detected