mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-21 00:54:41 +00:00
Update client_opt.go
This commit is contained in:
parent
224692eac6
commit
348e88cb4a
1 changed files with 2 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/gorilla/websocket"
|
"github.com/gorilla/websocket"
|
||||||
|
"go.opentelemetry.io/otel/trace"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ClientOption is a configuration option for the RPC client.
|
// ClientOption is a configuration option for the RPC client.
|
||||||
|
|
@ -41,6 +42,7 @@ type clientConfig struct {
|
||||||
idgen func() ID
|
idgen func() ID
|
||||||
batchItemLimit int
|
batchItemLimit int
|
||||||
batchResponseLimit int
|
batchResponseLimit int
|
||||||
|
tracerProvider trace.TracerProvider
|
||||||
}
|
}
|
||||||
|
|
||||||
func (cfg *clientConfig) initHeaders() {
|
func (cfg *clientConfig) initHeaders() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue