misc: moved graph module to experimental branch for now

This commit is contained in:
Simone Margaritelli 2021-04-12 14:09:03 +02:00
commit f2b6d9b708
16 changed files with 0 additions and 1751 deletions

View file

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