MCPcopy
hub / github.com/bettercap/bettercap / String

Method String

modules/graph/node.go:94–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94func (n Node) String() string {
95 if n.Dummy == false {
96 return fmt.Sprintf("%s_%s", n.Type, n.ID)
97 }
98 return string(n.Type)
99}
100
101func (n Node) Label() string {
102 if n.Dummy {

Callers 15

DotMethod · 0.95
CreateNodeMethod · 0.95
TestDoFilterFunction · 0.45
showMetaMethod · 0.45
dumpJSONMethod · 0.45
viewEndpointEventMethod · 0.45
viewWiFiApEventMethod · 0.45
viewWiFiClientEventMethod · 0.45
setAuthFailedMethod · 0.45
setMacMethod · 0.45
StartMethod · 0.45
StopMethod · 0.45

Calls

no outgoing calls

Tested by 13

TestDoFilterFunction · 0.36
EnableRedirectionMethod · 0.36
setupMockSessionFunction · 0.36
FindMACMethod · 0.36
SkipMethod · 0.36
TestArpSpooferStartStopFunction · 0.36
TestArpSpooferBanModeFunction · 0.36
TestArpSpooferFullDuplexFunction · 0.36
EnableRedirectionMethod · 0.36
SkipMethod · 0.36
TestIPRangeExpansionFunction · 0.36
TestNewModuleHandlerFunction · 0.36