mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
19 lines
294 B
Go
19 lines
294 B
Go
package flux
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
"github.com/eolinker/go-common/autowire"
|
|
)
|
|
|
|
func init() {
|
|
autowire.Auto[IFluxQuery](func() reflect.Value {
|
|
return reflect.ValueOf(new(fluxQuery))
|
|
})
|
|
|
|
//初始化buckets配置
|
|
initBucketsConfig()
|
|
//初始化tasks定时脚本配置
|
|
initTasksConfig()
|
|
}
|