Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/crowdsecurity/crowdsec
/ Set
Method
Set
pkg/csplugin/watcher.go:42–46 ·
view source on GitHub ↗
(key string, val int)
Source
from the content-addressed store, hash-verified
40
}
41
42
func
(acp *alertCounterByPluginName) Set(key string, val int) {
43
acp.Lock()
44
acp.data[key] = val
45
acp.Unlock()
46
}
47
48
func
(acp *alertCounterByPluginName) Inc(key string) {
49
acp.Lock()
Callers
7
UpdateCacheMetrics
Function · 0.45
doRequest
Method · 0.45
RoundTrip
Method · 0.45
RoundTrip
Method · 0.45
FetchIndex
Method · 0.45
watchPluginTicker
Method · 0.45
ConnectionString
Method · 0.45
Calls
no outgoing calls
Tested by
1
RoundTrip
Method · 0.36