Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
3bce7b64
Commit
3bce7b64
authored
Sep 20, 2022
by
Benjamin Wenger
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/project/Channels' into project/Channels
parents
a266870f
07b3c7cf
No related branches found
No related tags found
3 merge requests
!510
Release
,
!419
rewrote the health tracker to both consider if there are waiting rounds and...
,
!340
Project/channels
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
bindings/channels.go
+9
-11
9 additions, 11 deletions
bindings/channels.go
with
9 additions
and
11 deletions
bindings/channels.go
+
9
−
11
View file @
3bce7b64
...
@@ -777,9 +777,9 @@ type EventModel interface {
...
@@ -777,9 +777,9 @@ type EventModel interface {
// Sent | 0
// Sent | 0
// Delivered | 1
// Delivered | 1
// Failed | 2
// Failed | 2
ReceiveMessage
(
channelID
[]
byte
,
messageID
[]
byte
,
ReceiveMessage
(
channelID
,
messageID
[]
byte
,
senderUsername
string
,
text
string
,
timestamp
int64
,
senderUsername
,
text
string
,
lease
int64
,
roundId
int64
,
status
int64
)
timestamp
,
lease
,
roundId
,
status
int64
)
// ReceiveReply is called whenever a message is received which is a reply
// ReceiveReply is called whenever a message is received which is a reply
// on a given channel. It may be called multiple times on the same message,
// on a given channel. It may be called multiple times on the same message,
...
@@ -801,10 +801,9 @@ type EventModel interface {
...
@@ -801,10 +801,9 @@ type EventModel interface {
// Sent | 0
// Sent | 0
// Delivered | 1
// Delivered | 1
// Failed | 2
// Failed | 2
ReceiveReply
(
channelID
[]
byte
,
messageID
[]
byte
,
ReceiveReply
(
channelID
,
messageID
,
reactionTo
[]
byte
,
reactionTo
[]
byte
,
senderUsername
string
,
senderUsername
,
text
string
,
text
string
,
timestamp
int64
,
lease
int64
,
timestamp
,
lease
,
roundId
,
status
int64
)
roundId
int64
,
status
int64
)
// ReceiveReaction is called whenever a reaction to a message is received
// ReceiveReaction is called whenever a reaction to a message is received
// on a given channel. It may be called multiple times on the same reaction,
// on a given channel. It may be called multiple times on the same reaction,
...
@@ -826,10 +825,9 @@ type EventModel interface {
...
@@ -826,10 +825,9 @@ type EventModel interface {
// Sent | 0
// Sent | 0
// Delivered | 1
// Delivered | 1
// Failed | 2
// Failed | 2
ReceiveReaction
(
channelID
[]
byte
,
messageID
[]
byte
,
ReceiveReaction
(
channelID
,
messageID
,
reactionTo
[]
byte
,
reactionTo
[]
byte
,
senderUsername
string
,
senderUsername
,
reaction
string
,
reaction
string
,
timestamp
int64
,
lease
int64
,
timestamp
,
lease
,
roundId
,
status
int64
)
roundId
int64
,
status
int64
)
// UpdateSentStatus is called whenever the sent status of a message
// UpdateSentStatus is called whenever the sent status of a message
// has changed.
// has changed.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment