Versions in this module Expand all Collapse all v0 v0.0.1 Jan 30, 2024 Changes in this version + const Version + var ErrSendNotification = errors.New("send notification") + func Disable(n *Notify) + func Enable(n *Notify) + func Send(ctx context.Context, subject, message string) error + func UseServices(services ...Notifier) + type Notifier interface + Send func(context.Context, string, string) error + type Notify struct + Disabled bool + func Default() *Notify + func New() *Notify + func NewWithOptions(options ...Option) *Notify + func NewWithServices(services ...Notifier) *Notify + func (n *Notify) Send(ctx context.Context, subject, message string) error + func (n *Notify) UseServices(services ...Notifier) + func (n *Notify) WithOptions(options ...Option) *Notify + type Option func(*Notify)