Files
agent-lib/internal/notify/noop_noop.go
T

12 lines
287 B
Go
Raw Normal View History

//go:build !windows
package notify
// Noop drops every notification; Linux and macOS stay silent by design.
type Noop struct{}
func (Noop) Send(title, body string) error { return nil }
// Platform returns the no-op sender on Linux and macOS.
func Platform() Sender { return Noop{} }