diff options
author | Steven Roose <stevenroose@gmail.com> | 2018-01-24 16:59:15 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-01-24 16:59:15 +0800 |
commit | 952482d5e47c390afbd04230c43b1df8c53d84ef (patch) | |
tree | e2bbc61d4eea3bfad94b80392c16af61ceee6961 /COPYING | |
parent | 5c83a4e5dd600fcf19502f7fb083dc0b6393f969 (diff) | |
download | go-tangerine-952482d5e47c390afbd04230c43b1df8c53d84ef.tar go-tangerine-952482d5e47c390afbd04230c43b1df8c53d84ef.tar.gz go-tangerine-952482d5e47c390afbd04230c43b1df8c53d84ef.tar.bz2 go-tangerine-952482d5e47c390afbd04230c43b1df8c53d84ef.tar.lz go-tangerine-952482d5e47c390afbd04230c43b1df8c53d84ef.tar.xz go-tangerine-952482d5e47c390afbd04230c43b1df8c53d84ef.tar.zst go-tangerine-952482d5e47c390afbd04230c43b1df8c53d84ef.zip |
rpc: Support specifying HTTP client in RPC dialing (#15836)
* rpc: Support specifying HTTP client in RPC dialing
Adds a minimal interface that captures http.Client and adds a new method
rpc.DialHTTPClient that takes a client using that interface. The existing
rpc.DialHTTP method is then alternatively implemented by using the new
rpc.DialHTTPClient method provided with a standard *http.Client.
* rpc: fix minor doc typos
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions