noop.go

 1package notification
 2
 3// NoopBackend is a no-op notification backend that does nothing.
 4// This is the default backend used when notifications are not supported.
 5type NoopBackend struct{}
 6
 7// Send does nothing and returns nil.
 8func (NoopBackend) Send(_ Notification) error {
 9	return nil
10}