overflow_probe_container_ne.../service/service.go

25 lines
449 B
Go
Raw Permalink Normal View History

2017-12-04 11:59:11 +00:00
package service
import (
2018-03-27 09:03:36 +00:00
"reflect"
2018-03-26 02:58:39 +00:00
oopcs "git.loafle.net/overflow/overflow_probe_container/service"
2017-12-04 11:59:11 +00:00
)
2018-03-27 09:03:36 +00:00
var (
ServicesToStartAndStop = []reflect.Type{
reflect.TypeOf((*oopcs.SensorConfigService)(nil)),
reflect.TypeOf((*oopcs.CrawlerService)(nil)),
reflect.TypeOf((*oopcs.ProbeService)(nil)),
reflect.TypeOf((*oopcs.StateService)(nil)),
}
)
2018-03-26 02:58:39 +00:00
func InitService() {
oopcs.InitService()
}
func DestroyService() {
oopcs.DestroyService()
2017-12-04 11:59:11 +00:00
}