Documentation ¶ Index ¶ func DetectLocalIP(ctx context.Context, target model.Target, timeout time.Duration) string func Evaluate(ctx context.Context, tasks []Task, opts Options) []model.CheckRecord type Options type Task Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DetectLocalIP ¶ func DetectLocalIP(ctx context.Context, target model.Target, timeout time.Duration) string func Evaluate ¶ func Evaluate(ctx context.Context, tasks []Task, opts Options) []model.CheckRecord Types ¶ type Options ¶ type Options struct { Workers int ConnectTimeout time.Duration RequestTimeout time.Duration MinPass int MaxLatency time.Duration StabilityRetries int StabilityGap time.Duration Verbose bool Targets []model.Target LocalIP string Mode string } type Task ¶ type Task struct { ProxyURL string SourceHits int Scheme string SourceScore float64 } Source Files ¶ View all Source files checker.gosocks4.go Click to show internal directories. Click to hide internal directories.