()
| 369 | } |
| 370 | |
| 371 | func GetHTTPSStatus() HTTPSStatus { |
| 372 | httpsStatusLock.RLock() |
| 373 | defer httpsStatusLock.RUnlock() |
| 374 | |
| 375 | status := httpsStatus |
| 376 | status.Checks = append([]string{}, status.Checks...) |
| 377 | status.NextSteps = append([]string{}, status.NextSteps...) |
| 378 | return status |
| 379 | } |
| 380 | |
| 381 | func containsString(items []string, target string) bool { |
| 382 | for _, item := range items { |