overflow_probes/probe/on_notify.go

56 lines
958 B
Go
Raw Normal View History

2017-09-28 10:09:33 +00:00
package probe
2017-12-01 13:01:46 +00:00
// import (
// "fmt"
2017-09-29 12:30:27 +00:00
2017-12-01 13:01:46 +00:00
// "git.loafle.net/commons_go/logging"
// "git.loafle.net/overflow/overflow_probes/central/api/module"
// )
2017-09-28 10:09:33 +00:00
2017-12-01 13:01:46 +00:00
// func (p *probe) onNotify(method string, params []string) {
// var err error
// switch method {
// case module.CrawlerService_Install:
2017-09-29 12:30:27 +00:00
2017-12-01 13:01:46 +00:00
// break
// case module.CrawlerService_Uninstall:
2017-09-29 12:30:27 +00:00
2017-12-01 13:01:46 +00:00
// break
// case module.CrawlerService_Update:
2017-09-29 12:30:27 +00:00
2017-12-01 13:01:46 +00:00
// break
// case module.SensorService_Start:
2017-09-29 12:30:27 +00:00
2017-12-01 13:01:46 +00:00
// break
// case module.SensorService_Stop:
2017-09-28 10:09:33 +00:00
2017-12-01 13:01:46 +00:00
// break
// case module.SensorService_Add:
2017-09-28 10:09:33 +00:00
2017-12-01 13:01:46 +00:00
// break
// case module.SensorService_Remove:
2017-09-29 12:30:27 +00:00
2017-12-01 13:01:46 +00:00
// break
// case module.SensorService_Update:
2017-09-29 12:30:27 +00:00
2017-12-01 13:01:46 +00:00
// break
// case module.ProbeService_Update:
2017-09-29 12:30:27 +00:00
2017-12-01 13:01:46 +00:00
// break
// case module.LogService_Send:
2017-09-29 12:30:27 +00:00
2017-12-01 13:01:46 +00:00
// break
// case module.DiscoveryService_Start:
2017-09-29 12:30:27 +00:00
2017-12-01 13:01:46 +00:00
// break
// case module.DiscoveryService_Stop:
2017-09-29 12:30:27 +00:00
2017-12-01 13:01:46 +00:00
// break
// }
2017-09-29 12:30:27 +00:00
2017-12-01 13:01:46 +00:00
// if nil != err {
// logging.Logger().Error(fmt.Sprintf("Probe notify error: %v", err))
// }
2017-09-28 10:09:33 +00:00
2017-12-01 13:01:46 +00:00
// }