runner

package
v0.1.118 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

func HandleUploadResults(config *params.Config, output string)

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

func RunCPUTest(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string

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

func RunDiskTest(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string

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

func RunSpeedTests

func RunSpeedTests(config *params.Config, output, tempOutput string, outputMutex *sync.Mutex) string

RunSpeedTests runs speed tests (Chinese mode)

func RunStreamingTests

func RunStreamingTests(config *params.Config, wg1 *sync.WaitGroup, mediaInfo *string, output, tempOutput string, outputMutex *sync.Mutex, infoMutex *sync.Mutex) string

RunStreamingTests runs platform unlock tests

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL