MCPcopy
hub / github.com/crowdsecurity/crowdsec / Notify

Method Notify

pkg/protobufs/notifier_grpc.pb.go:30–30  ·  view source on GitHub ↗
(ctx context.Context, in *Notification, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

28// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
29type NotifierClient interface {
30 Notify(ctx context.Context, in *Notification, opts ...grpc.CallOption) (*Empty, error)
31 Configure(ctx context.Context, in *Config, opts ...grpc.CallOption) (*Empty, error)
32}
33

Callers 5

_Notifier_Notify_HandlerFunction · 0.65
tryNotifyMethod · 0.65
NotifyMethod · 0.65
HandleSignalsFunction · 0.65
ServeFunction · 0.65

Implementers 10

notifierClientpkg/protobufs/notifier_grpc.pb.go
UnimplementedNotifierServerpkg/protobufs/notifier_grpc.pb.go
GRPCClientpkg/csplugin/notifier.go
DummyPlugincmd/notification-dummy/main.go
EmailPlugincmd/notification-email/main.go
Notifycmd/notification-slack/main.go
Splunkcmd/notification-splunk/main.go
SentinelPlugincmd/notification-sentinel/main.go
FilePlugincmd/notification-file/main.go
HTTPPlugincmd/notification-http/main.go

Calls

no outgoing calls

Tested by

no test coverage detected