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

Function init

module/monitor/monitor.go:58–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58func init() {
59 autowire.Auto[IMonitorStatisticModule](func() reflect.Value {
60 return reflect.ValueOf(new(imlMonitorStatisticModule))
61 })
62
63 autowire.Auto[IMonitorConfigModule](func() reflect.Value {
64 return reflect.ValueOf(new(imlMonitorConfig))
65 })
66}
67func formatTimeByMinute(org int64) time.Time {
68 t := time.Unix(org, 0)
69 location, _ := time.LoadLocation("Asia/Shanghai")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected