Skip to content

Commit c38f474

Browse files
committed
add Call comment about encoding
1 parent a36d0e4 commit c38f474

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

client/client.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ import (
2626
)
2727

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

3233
Subscribe(ctx context.Context, namespace, subscribeMethodSuffix, unsubscribeMethodSuffix,

0 commit comments

Comments
 (0)