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

Function NewManagerWithEngine

internal/batch/manager.go:36–43  ·  view source on GitHub ↗

NewManagerWithEngine 使用现有引擎创建批量管理器

(engine *core.Engine, config *types.Config)

Source from the content-addressed store, hash-verified

34
35// NewManagerWithEngine 使用现有引擎创建批量管理器
36func NewManagerWithEngine(engine *core.Engine, config *types.Config) *Manager {
37 return &Manager{
38 engine: engine,
39 config: config,
40 formatter: report.NewFormatter(config),
41 tableFormatter: report.NewTableFormatter(config),
42 }
43}
44
45// Start 启动批量管理器
46func (bm *Manager) Start() error {

Callers 1

NewRootCmdFunction · 0.92

Calls 2

NewFormatterFunction · 0.92
NewTableFormatterFunction · 0.92

Tested by

no test coverage detected