wormhole-explorer/fly/event/noop.go

18 lines
358 B
Go

package event
import "context"
type NoopEventDispatcher struct{}
func NewNoopEventDispatcher() *NoopEventDispatcher {
return &NoopEventDispatcher{}
}
func (n *NoopEventDispatcher) NewDuplicateVaa(context.Context, DuplicateVaa) error {
return nil
}
func (n *NoopEventDispatcher) NewGovernorStatus(context.Context, GovernorStatus) error {
return nil
}