You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pss/outbox/outbox.go
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,18 @@ const (
10
10
defaultOutboxCapacity=100000
11
11
)
12
12
13
+
varErrOutboxfull=errors.New("outbox full")
14
+
13
15
typeOutboxinterface {
14
-
Enqueue(outboxmsg*outboxMsg) error
16
+
Enqueue(*outboxMsg) error
15
17
ProcessOutbox()
16
-
SetForwardFunction(forwardFuncfunc(msginterface{}) error) //Eventually this will not be needed, when pss has a newMock that creates a mock outbox, this is used just for a test outside of outbox package
18
+
SetForwardFunction(forwardFunc) //Eventually this will not be needed, when pss has a newMock that creates a mock outbox, this is used just for a test outside of outbox package
0 commit comments