ing
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
package probe
|
||||
|
||||
import (
|
||||
configM "git.loafle.net/overflow/overflow_commons_go/modules/config/model"
|
||||
)
|
||||
|
||||
type CrawlerService interface {
|
||||
Install()
|
||||
Uninstall()
|
||||
Update()
|
||||
|
||||
Authenticate()
|
||||
Authenticate(crawler *configM.Crawler, target *configM.Target) (bool, error)
|
||||
}
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
package probe
|
||||
|
||||
type DiscoveryService interface {
|
||||
}
|
||||
@@ -1,9 +1,13 @@
|
||||
package probe
|
||||
|
||||
import (
|
||||
configM "git.loafle.net/overflow/overflow_commons_go/modules/config/model"
|
||||
)
|
||||
|
||||
type SensorService interface {
|
||||
Start()
|
||||
Stop()
|
||||
Add()
|
||||
Remove()
|
||||
Update()
|
||||
Start(id int64) (bool, error)
|
||||
Stop(id int64) (bool, error)
|
||||
Add(config *configM.Config) (bool, error)
|
||||
Remove(id int64) (bool, error)
|
||||
Update(id int64) (bool, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user