Comments (3)
You can use a custom http client over unix socket. Example https://gist.github.com/teknoraver/5ffacb8757330715bcbcc90e6d46ac74
from ethrpc.
Sure, I was looking for a bit more convenience, as the current impl uses http.DefaultClient (https://github.com/onrik/ethrpc/blob/master/ethrpc.go#L50) and doesn't allow to inject our own.
I guess it's acceptable to create our own flavor of New
method that customizes the HttpClient.
from ethrpc.
You can use option WithHttpClient.
from ethrpc.
Related Issues (20)
- How to decode input data in transaction HOT 2
- Add time out for http client HOT 2
- Handling locked accounts HOT 2
- how to call contract HOT 1
- How to use the "eth_sendRawTransaction" method? HOT 2
- How to use ABI.josn file to call a deployed contract ?
- TransactionReceipt.Status throws with Parity HOT 2
- Example inputs for transaction{} object used in (*EthRPC).EthSendTransactionl() HOT 1
- EthGetBlockByHash always return response HOT 6
- Add an interface for `EthRPC` methods HOT 1
- getbalabce The value returned is not correct HOT 3
- EthGetBlockByHash The value returned is not correct HOT 2
- I would like you to write a simple documentation showing how to use it.. HOT 3
- On Active Release of TCP Connections
- EthGetBlockByNumber has first parameter of type INT HOT 2
- export client field for EthRPC HOT 2
- Can you give me EthCall example HOT 3
- TransactionReceipt Status bool HOT 1
- Error -32000 (authentication needed: password or unlock) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethrpc.