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

Function init

service/monitor/service.go:21–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21func init() {
22 autowire.Auto[IMonitorService](func() reflect.Value {
23 return reflect.ValueOf(new(imlMonitorService))
24 })
25
26 autowire.Auto[IMonitorStatisticsCache](func() reflect.Value {
27 return reflect.ValueOf(new(imlMonitorStatisticsCacheService))
28 })
29}
30
31type IMonitorStatisticsCache interface {
32 GetStatisticsCache(ctx context.Context, partitionId string, start, end time.Time, groupBy string, wheres []MonWhereItem, limit int) (map[string]MonCommonData, error)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected