This commit is contained in:
crusader
2017-12-04 15:50:11 +09:00
parent a0c0fefa8d
commit 3f116f1343
12 changed files with 72 additions and 58 deletions

View File

@@ -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)
}

View File

@@ -1,4 +0,0 @@
package probe
type DiscoveryService interface {
}

View File

@@ -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)
}