Browse Source

fix Call method signature in HTTPClient interface

pull/456/head
Anton Kaliaev 8 years ago
parent
commit
22ba8bdef8
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      client/http_client.go

+ 1
- 1
client/http_client.go View File

@ -17,7 +17,7 @@ import (
// HTTPClient is a common interface for ClientJSONRPC and ClientURI. // HTTPClient is a common interface for ClientJSONRPC and ClientURI.
type HTTPClient interface { 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 // TODO: Deprecate support for IP:PORT or /path/to/socket


Loading…
Cancel
Save