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

Function ToMonInvokeCountTrend

module/monitor/dto/output.go:113–123  ·  view source on GitHub ↗
(item *monitor.MonInvokeCountTrend)

Source from the content-addressed store, hash-verified

111}
112
113func ToMonInvokeCountTrend(item *monitor.MonInvokeCountTrend) *MonInvokeCountTrend {
114 return &MonInvokeCountTrend{
115 Date: item.Date,
116 Status5XX: item.Status5XX,
117 Status4XX: item.Status4XX,
118 ProxyRate: item.ProxyRate,
119 ProxyTotal: item.ProxyTotal,
120 RequestRate: item.RequestRate,
121 RequestTotal: item.RequestTotal,
122 }
123}
124
125type MonMessageChart struct {
126 Date []time.Time `json:"date"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected