Documentation
¶
Index ¶
- func AppendAnalysisSummary(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string
- func AppendTimeInfo(config *params.Config, output, tempOutput string, startTime time.Time, ...) string
- func HandleSignalInterrupt(sig chan os.Signal, config *params.Config, startTime *time.Time, ...)
- func HandleUploadResults(config *params.Config, output string)
- func RunBasicTests(preCheck utils.NetCheckResult, config *params.Config, ...) string
- func RunCPUTest(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string
- func RunChineseTests(preCheck utils.NetCheckResult, config *params.Config, ...)
- func RunDiskTest(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string
- func RunEmailTests(config *params.Config, wg2 *sync.WaitGroup, emailInfo *string, ...) string
- func RunEnglishNetworkTests(config *params.Config, wg3 *sync.WaitGroup, ptInfo *string, ...) string
- func RunEnglishSpeedTests(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string
- func RunEnglishTests(preCheck utils.NetCheckResult, config *params.Config, ...)
- func RunIpInfoCheck(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string
- func RunMemoryTest(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string
- func RunNetworkTests(config *params.Config, wg3 *sync.WaitGroup, ptInfo *string, ...) string
- func RunSecurityTests(config *params.Config, securityInfo, output, tempOutput string, ...) string
- func RunSpeedTests(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string
- func RunStreamingTests(config *params.Config, wg1 *sync.WaitGroup, mediaInfo *string, ...) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendAnalysisSummary ¶ added in v0.1.119
func AppendAnalysisSummary(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string
AppendAnalysisSummary appends a concise bilingual summary for easier interpretation.
func AppendTimeInfo ¶
func AppendTimeInfo(config *params.Config, output, tempOutput string, startTime time.Time, outputMutex *sync.Mutex) string
AppendTimeInfo appends timing information
func HandleSignalInterrupt ¶
func HandleSignalInterrupt(sig chan os.Signal, config *params.Config, startTime *time.Time, output *string, tempOutput string, uploadDone chan bool, outputMutex *sync.Mutex)
HandleSignalInterrupt handles interrupt signals
func HandleUploadResults ¶
HandleUploadResults handles uploading results
func RunBasicTests ¶
func RunBasicTests(preCheck utils.NetCheckResult, config *params.Config, basicInfo, securityInfo *string, output, tempOutput string, outputMutex *sync.Mutex) string
RunBasicTests runs basic system tests
func RunCPUTest ¶
RunCPUTest runs CPU test
func RunChineseTests ¶
func RunChineseTests(preCheck utils.NetCheckResult, config *params.Config, wg1, wg2, wg3 *sync.WaitGroup, basicInfo, securityInfo, emailInfo, mediaInfo, ptInfo *string, output *string, tempOutput string, startTime time.Time, outputMutex *sync.Mutex, infoMutex *sync.Mutex)
RunChineseTests runs all tests in Chinese mode
func RunDiskTest ¶
RunDiskTest runs disk test
func RunEmailTests ¶
func RunEmailTests(config *params.Config, wg2 *sync.WaitGroup, emailInfo *string, output, tempOutput string, outputMutex *sync.Mutex, infoMutex *sync.Mutex) string
RunEmailTests runs email port tests
func RunEnglishNetworkTests ¶
func RunEnglishNetworkTests(config *params.Config, wg3 *sync.WaitGroup, ptInfo *string, output, tempOutput string, outputMutex *sync.Mutex) string
RunEnglishNetworkTests runs network tests (English mode)
func RunEnglishSpeedTests ¶
func RunEnglishSpeedTests(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string
RunEnglishSpeedTests runs speed tests (English mode)
func RunEnglishTests ¶
func RunEnglishTests(preCheck utils.NetCheckResult, config *params.Config, wg1, wg2, wg3 *sync.WaitGroup, basicInfo, securityInfo, emailInfo, mediaInfo, ptInfo *string, output *string, tempOutput string, startTime time.Time, outputMutex *sync.Mutex, infoMutex *sync.Mutex)
RunEnglishTests runs all tests in English mode
func RunIpInfoCheck ¶
func RunIpInfoCheck(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string
RunIpInfoCheck performs IP info check
func RunMemoryTest ¶
func RunMemoryTest(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string
RunMemoryTest runs memory test
func RunNetworkTests ¶
func RunNetworkTests(config *params.Config, wg3 *sync.WaitGroup, ptInfo *string, output, tempOutput string, outputMutex *sync.Mutex, infoMutex *sync.Mutex) string
RunNetworkTests runs network tests (Chinese mode)
func RunSecurityTests ¶
func RunSecurityTests(config *params.Config, securityInfo, output, tempOutput string, outputMutex *sync.Mutex) string
RunSecurityTests runs security tests
Types ¶
This section is empty.