Skip to content
Snippets Groups Projects
Commit 60c39eee authored by Aleksandr Popov's avatar Aleksandr Popov
Browse files

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
Tags v0.3.2
No related merge requests found
......@@ -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 []byte `json:"params"`
Method string `json:"method"`
Params json.RawMessage `json:"params"`
}
type ResponseData interface{}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment