Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
go-kit
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
effectivex
go-kit
Commits
60c39eee
Commit
60c39eee
authored
2 years ago
by
Aleksandr Popov
Browse files
Options
Downloads
Plain Diff
Merge branch '0.3.x/
EFA-2910
' into '0.3.x/release'
0.3.x/
EFA-2910
See merge request effectivex/go-kit!29
parents
55a7d8f9
3f035718
No related branches found
Branches containing commit
Tags
v0.3.2
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
transport/transport.go
+3
-2
3 additions, 2 deletions
transport/transport.go
with
3 additions
and
2 deletions
transport/transport.go
+
3
−
2
View file @
60c39eee
...
...
@@ -2,6 +2,7 @@ package transport
import
(
"context"
"encoding/json"
)
type
RpcClient
interface
{
...
...
@@ -25,8 +26,8 @@ type MessageBody []byte
type
Handler
func
(
data
MessageBody
,
ackFunc
func
(),
nackFunc
func
(
requeue
bool
))
type
RpcMessage
struct
{
Method
string
`json:"method"`
Params
[]
byt
e
`json:"params"`
Method
string
`json:"method"`
Params
json
.
RawMessag
e
`json:"params"`
}
type
ResponseData
interface
{}
...
...
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