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

Function NewManager

internal/batch/manager.go:27–33  ·  view source on GitHub ↗

NewManager 创建批量管理器

(config *types.Config)

Source from the content-addressed store, hash-verified

25
26// NewManager 创建批量管理器
27func NewManager(config *types.Config) *Manager {
28 return &Manager{
29 config: config,
30 formatter: report.NewFormatter(config),
31 tableFormatter: report.NewTableFormatter(config),
32 }
33}
34
35// NewManagerWithEngine 使用现有引擎创建批量管理器
36func NewManagerWithEngine(engine *core.Engine, config *types.Config) *Manager {

Callers

nothing calls this directly

Calls 2

NewFormatterFunction · 0.92
NewTableFormatterFunction · 0.92

Tested by

no test coverage detected