MCPcopy
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
247func (s *APIServer) Router() (*gin.Engine, error) {
248 return s.router, nil
249}
250
251func (s *APIServer) apicPush(ctx context.Context) error {
252 if err := s.apic.Push(ctx); err != nil {

Callers 3

NewAPITestFunction · 0.95
NewAPITestForwardedForFunction · 0.80

Calls

no outgoing calls

Tested by 3

NewAPITestFunction · 0.76
NewAPITestForwardedForFunction · 0.64