MCPcopy
hub / github.com/bettercap/bettercap / AddHandler

Method AddHandler

session/module.go:213–215  ·  view source on GitHub ↗
(h ModuleHandler)

Source from the content-addressed store, hash-verified

211}
212
213func (m *SessionModule) AddHandler(h ModuleHandler) {
214 m.handlers = append(m.handlers, h)
215}
216
217func (m *SessionModule) AddParam(p *ModuleParam) *ModuleParam {
218 m.params[p.Name] = p

Callers 15

NewTickerFunction · 0.80
NewDiscoveryFunction · 0.80
NewPacketProxyFunction · 0.80
NewEventsStreamFunction · 0.80
NewRestAPIFunction · 0.80
NewHttpsServerFunction · 0.80
NewMacChangerFunction · 0.80
NewCanModuleFunction · 0.80
NewAnyProxyFunction · 0.80
NewArpSpooferFunction · 0.80
NewMockNetReconFunction · 0.80
NewHIDReconFunction · 0.80

Calls

no outgoing calls

Tested by 3

NewMockNetReconFunction · 0.64
NewMockNetReconFunction · 0.64
NewMockNetReconFunction · 0.64