MCPcopy
hub / github.com/bettercap/bettercap / InitState

Method InitState

session/module.go:77–81  ·  view source on GitHub ↗
(keys ...string)

Source from the content-addressed store, hash-verified

75}
76
77func (m *SessionModule) InitState(keys ...string) {
78 for _, key := range keys {
79 m.State.Store(key, nil)
80 }
81}
82
83func (m *SessionModule) ResetState() {
84 m.State.Range(func(k, v interface{}) bool {

Callers 4

NewHttpProxyFunction · 0.80
NewBLEReconFunction · 0.80
NewWiFiModuleFunction · 0.80
NewHttpsProxyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected