fix Call method signature in HTTPClient interface

This commit is contained in:
Anton Kaliaev 2017-03-08 10:26:13 +04:00
parent d43e3db978
commit 22ba8bdef8
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ import (
// HTTPClient is a common interface for ClientJSONRPC and ClientURI.
type HTTPClient interface {
Call(method string, params []interface{}, result interface{}) (interface{}, error)
Call(method string, params map[string]interface{}, result interface{}) (interface{}, error)
}
// TODO: Deprecate support for IP:PORT or /path/to/socket