File size: 484 Bytes
d6f631f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | package noop
import (
"context"
"github.com/openmeterio/openmeter/openmeter/notification"
)
var _ notification.EventHandler = (*Handler)(nil)
type Handler struct{}
func (h Handler) Dispatch(_ context.Context, _ *notification.Event) error {
return nil
}
func (h Handler) Reconcile(_ context.Context) error {
return nil
}
func (h Handler) Start() error {
return nil
}
func (h Handler) Close() error {
return nil
}
func New() (*Handler, error) {
return &Handler{}, nil
}
|