overflow_probe_container_ne.../service/service.go
crusader a07f717d52 ing
2018-03-27 18:03:36 +09:00

25 lines
449 B
Go

package service
import (
"reflect"
oopcs "git.loafle.net/overflow/overflow_probe_container/service"
)
var (
ServicesToStartAndStop = []reflect.Type{
reflect.TypeOf((*oopcs.SensorConfigService)(nil)),
reflect.TypeOf((*oopcs.CrawlerService)(nil)),
reflect.TypeOf((*oopcs.ProbeService)(nil)),
reflect.TypeOf((*oopcs.StateService)(nil)),
}
)
func InitService() {
oopcs.InitService()
}
func DestroyService() {
oopcs.DestroyService()
}