Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/crowdsecurity/crowdsec
/ Router
Method
Router
pkg/apiserver/apiserver.go:247–249 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
245
}
246
247
func
(s *APIServer) Router() (*gin.Engine, error) {
248
return
s.router, nil
249
}
250
251
func
(s *APIServer) apicPush(ctx context.Context) error {
252
if
err := s.apic.Push(ctx); err != nil {
Callers
3
NewAPITest
Function · 0.95
TestDeleteAlertTrustedIPS
Function · 0.80
NewAPITestForwardedFor
Function · 0.80
Calls
no outgoing calls
Tested by
3
NewAPITest
Function · 0.76
TestDeleteAlertTrustedIPS
Function · 0.64
NewAPITestForwardedFor
Function · 0.64