diff --git a/service/ConfigService.go b/service/ConfigService.go new file mode 100644 index 0000000..89f7f66 --- /dev/null +++ b/service/ConfigService.go @@ -0,0 +1,4 @@ +package service + +type ConfigService struct { +} diff --git a/service/CrawlerService.go b/service/CrawlerService.go index 6d43c33..7e2b2d8 100644 --- a/service/CrawlerService.go +++ b/service/CrawlerService.go @@ -1 +1,20 @@ package service + +type CrawlerService struct { +} + +func (cs *CrawlerService) Install() error { + +} + +func (cs *CrawlerService) Uninstall() error { + +} + +func (cs *CrawlerService) Update() error { + +} + +func (cs *CrawlerService) Authenticate(crawler *configM.Crawler, target *configM.Target) error { + +} diff --git a/service/DiscoveryService.go b/service/DiscoveryService.go new file mode 100644 index 0000000..25c47c9 --- /dev/null +++ b/service/DiscoveryService.go @@ -0,0 +1,36 @@ +package service + +type DiscoveryService struct { +} + +func (ds *DiscoveryService) DiscoverZone(dz *discoveryM.DiscoveryZone) error { + return nil +} + +func (ds *DiscoveryService) DiscoverHost(zone *discoveryM.Zone, dz *discoveryM.DiscoveryHost) error { + return nil +} + +func (ds *DiscoveryService) DiscoverPort(host *discoveryM.Host, dz *discoveryM.DiscoveryPort) error { + return nil +} + +func (ds *DiscoveryService) DiscoverService(port *discoveryM.Port, dz *discoveryM.DiscoveryService) error { + return nil +} + +func (ds *DiscoveryService) DiscoveredZone(zone *discoveryM.Zone) error { + return nil +} + +func (ds *DiscoveryService) DiscoveredHost(host *discoveryM.Host) error { + return nil +} + +func (ds *DiscoveryService) DiscoveredPort(port *discoveryM.Port) error { + return nil +} + +func (ds *DiscoveryService) DiscoveredService(service *discoveryM.Service) error { + return nil +} diff --git a/service/LogService.go b/service/LogService.go new file mode 100644 index 0000000..9853291 --- /dev/null +++ b/service/LogService.go @@ -0,0 +1,8 @@ +package service + +type LogService struct { +} + +func (ls *LogService) Send() error { + +} diff --git a/service/ProbeService.go b/service/ProbeService.go index 344e88c..fa09dbe 100644 --- a/service/ProbeService.go +++ b/service/ProbeService.go @@ -1,2 +1,14 @@ package service +type ProbeService struct { +} + +func (ps *ProbeService) Start() error { + +} +func (ps *ProbeService) Stop() error { + +} +func (ps *ProbeService) Update() error { + +} diff --git a/service/SensorService.go b/service/SensorService.go index a89c6c7..0ae9586 100644 --- a/service/SensorService.go +++ b/service/SensorService.go @@ -2,3 +2,23 @@ package service type SensorService struct { } + +func (ss *SensorService) Start(id int64) error { + +} + +func (ss *SensorService) Stop(id int64) error { + +} + +func (ss *SensorService) Add(config *configM.Config) error { + +} + +func (ss *SensorService) Remove(id int64) error { + +} + +func (ss *SensorService) Update(id int64) error { + +}