MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / ToMonSummaryOutput

Function ToMonSummaryOutput

module/monitor/dto/output.go:44–52  ·  view source on GitHub ↗
(output *monitor.Summary)

Source from the content-addressed store, hash-verified

42}
43
44func ToMonSummaryOutput(output *monitor.Summary) *MonSummaryOutput {
45 return &MonSummaryOutput{
46 Total: output.Total,
47 Success: output.Success,
48 Fail: output.Fail,
49 Status4Xx: output.Status4Xx,
50 Status5Xx: output.Status5Xx,
51 }
52}
53
54type MonMessageTrend struct {
55 Dates []time.Time `json:"dates"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected