MCPcopy Create free account
hub / github.com/V2RaySSR/RealityChecker / Stop

Method Stop

internal/batch/manager.go:69–86  ·  view source on GitHub ↗

Stop 停止批量管理器

()

Source from the content-addressed store, hash-verified

67
68// Stop 停止批量管理器
69func (bm *Manager) Stop() error {
70 bm.mu.Lock()
71 defer bm.mu.Unlock()
72
73 if !bm.running {
74 return nil
75 }
76
77 // 批量管理器简化:无需停止额外的组件
78
79 // 停止引擎
80 if bm.engine != nil {
81 bm.engine.Stop()
82 }
83
84 bm.running = false
85 return nil
86}
87
88// CheckDomains 批量检测域名
89func (bm *Manager) CheckDomains(ctx context.Context, domains []string) ([]*types.DetectionResult, error) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected