Skip to content

Commit

Permalink
add Call comment about encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhavyas committed Apr 15, 2021
1 parent a36d0e4 commit c38f474
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import (
)

type Client interface {
// TODO(ved): override this function to scale encode the args
// Call makes the call to RPC method with the provided args
// args must be encoded in the format RPC understands
Call(result interface{}, method string, args ...interface{}) error

Subscribe(ctx context.Context, namespace, subscribeMethodSuffix, unsubscribeMethodSuffix,
Expand Down

0 comments on commit c38f474

Please sign in to comment.