MCPcopy Index your code
hub / github.com/bettercap/bettercap / BoolParam

Method BoolParam

session/module.go:197–203  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

195}
196
197func (m SessionModule) BoolParam(name string) (error, bool) {
198 if err, v := m.params[name].Get(m.Session); err != nil {
199 return err, false
200 } else {
201 return nil, v.(bool)
202 }
203}
204
205func (m *SessionModule) SetPrompt(prompt string) {
206 m.prompt = prompt

Callers 15

ShowMethod · 0.80
ConfigureMethod · 0.80
ConfigureMethod · 0.80
ConfigureMethod · 0.80
ConfigureMethod · 0.80
ConfigureMethod · 0.80
ConfigureMethod · 0.80
ConfigureMethod · 0.80
ConfigureMethod · 0.80
ConfigureMethod · 0.80
onPacketMethod · 0.80
isDeauthSilentMethod · 0.80

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected