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

Function NewFormatter

internal/report/formatter.go:17–21  ·  view source on GitHub ↗

NewFormatter 创建格式化器

(config *types.Config)

Source from the content-addressed store, hash-verified

15
16// NewFormatter 创建格式化器
17func NewFormatter(config *types.Config) *Formatter {
18 return &Formatter{
19 config: config,
20 }
21}
22
23// FormatSingleResult 格式化单个检测结果
24func (f *Formatter) FormatSingleResult(result *types.DetectionResult) string {

Callers 3

executeCheckMethod · 0.92
NewManagerFunction · 0.92
NewManagerWithEngineFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected