File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed
Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 11package goengine
22
3- import (
4- "github.com/hellofresh/goengine/driver/sql"
5- )
6-
73type (
84 // Metrics a structured metrics interface
95 Metrics interface {
106 ReceivedNotification (isNotification bool )
11- QueueNotification (notification * sql. ProjectionNotification )
12- StartNotificationProcessing (notification * sql. ProjectionNotification )
13- FinishNotificationProcessing (notification * sql. ProjectionNotification , success bool , retry bool )
7+ QueueNotification (notification interface {} )
8+ StartNotificationProcessing (notification interface {} )
9+ FinishNotificationProcessing (notification interface {} , success bool , retry bool )
1410 }
1511)
Original file line number Diff line number Diff line change 11package goengine
22
3- import "github.com/hellofresh/goengine/driver/sql"
4-
53var NopMetrics Metrics = & nopMetrics {}
64
75type nopMetrics struct {}
86
97func (nm * nopMetrics ) ReceivedNotification (isNotification bool ) {}
10- func (nm * nopMetrics ) QueueNotification (notification * sql. ProjectionNotification ) {}
11- func (nm * nopMetrics ) StartNotificationProcessing (notification * sql. ProjectionNotification ) {}
12- func (nm * nopMetrics ) FinishNotificationProcessing (notification * sql. ProjectionNotification , success bool , retry bool ) {
8+ func (nm * nopMetrics ) QueueNotification (notification interface {} ) {}
9+ func (nm * nopMetrics ) StartNotificationProcessing (notification interface {} ) {}
10+ func (nm * nopMetrics ) FinishNotificationProcessing (notification interface {} , success bool , retry bool ) {
1311}
You can’t perform that action at this time.
0 commit comments