ing
This commit is contained in:
parent
087d9c22d3
commit
7a567199a9
4
service/ConfigService.go
Normal file
4
service/ConfigService.go
Normal file
|
@ -0,0 +1,4 @@
|
|||
package service
|
||||
|
||||
type ConfigService struct {
|
||||
}
|
|
@ -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 {
|
||||
|
||||
}
|
||||
|
|
36
service/DiscoveryService.go
Normal file
36
service/DiscoveryService.go
Normal file
|
@ -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
|
||||
}
|
8
service/LogService.go
Normal file
8
service/LogService.go
Normal file
|
@ -0,0 +1,8 @@
|
|||
package service
|
||||
|
||||
type LogService struct {
|
||||
}
|
||||
|
||||
func (ls *LogService) Send() error {
|
||||
|
||||
}
|
|
@ -1,2 +1,14 @@
|
|||
package service
|
||||
|
||||
type ProbeService struct {
|
||||
}
|
||||
|
||||
func (ps *ProbeService) Start() error {
|
||||
|
||||
}
|
||||
func (ps *ProbeService) Stop() error {
|
||||
|
||||
}
|
||||
func (ps *ProbeService) Update() error {
|
||||
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user