mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc: moved graph module to experimental branch for now
This commit is contained in:
parent
4dac3b9373
commit
f2b6d9b708
16 changed files with 0 additions and 1751 deletions
|
@ -1,15 +0,0 @@
|
|||
package graph
|
||||
|
||||
import (
|
||||
"github.com/bettercap/bettercap/log"
|
||||
)
|
||||
|
||||
type graphPackage struct{}
|
||||
|
||||
func (g graphPackage) IsConnected(nodeType, nodeID string) bool {
|
||||
if Loaded == nil {
|
||||
log.Error("graph.IsConnected: graph not loaded")
|
||||
return false
|
||||
}
|
||||
return Loaded.IsConnected(nodeType, nodeID)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue