Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Lange
7c4a4eb58a
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
...
* rpc: improve codec abstraction
rpc.ServerCodec is an opaque interface. There was only one way to get a
codec using existing APIs: rpc.NewJSONCodec. This change exports
newCodec (as NewFuncCodec) and NewJSONCodec (as NewCodec). It also makes
all codec methods non-public to avoid showing internals in godoc.
While here, remove codec options in tests because they are not
supported anymore.
* p2p/simulations: use github.com/gorilla/websocket
This package was the last remaining user of golang.org/x/net/websocket.
Migrating to the new library wasn't straightforward because it is no
longer possible to treat WebSocket connections as a net.Conn.
* vendor: delete golang.org/x/net/websocket
* rpc: fix godoc comments and run gofmt
5 years ago
..
testdata
rpc: implement full bi-directional communication ( #18471 )
6 years ago
client.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
client_example_test.go
rpc: fix example typo ( #18100 )
6 years ago
client_test.go
rpc: raise limit in TestClientNotificationStorm ( #19999 )
5 years ago
constants_unix.go
accounts, p2p, rpc: make CGO_ENABLED=0 build again ( #19593 )
6 years ago
constants_unix_nocgo.go
accounts, p2p, rpc: make CGO_ENABLED=0 build again ( #19593 )
6 years ago
doc.go
rpc: fix typo example code ( #20284 )
5 years ago
endpoints.go
rpc: make HTTP RPC timeouts configurable, raise defaults ( #17240 )
6 years ago
errors.go
rpc: implement full bi-directional communication ( #18471 )
6 years ago
gzip.go
rpc: enable compression on HTTP transport ( #19997 )
5 years ago
handler.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
http.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
http_test.go
rpc: enforce the 128KB request limits on websockets too
7 years ago
inproc.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
ipc.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
ipc_js.go
all: update author list and licenses
5 years ago
ipc_unix.go
rpc: implement websockets with github.com/gorilla/websocket ( #19866 )
5 years ago
ipc_windows.go
all: import "context" instead of "golang.org/x/net/context"
8 years ago
json.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
server.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
server_test.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
service.go
all: update author list and licenses
5 years ago
stdio.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
subscription.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
subscription_test.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
testservice_test.go
all: update author list and licenses
5 years ago
types.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
types_test.go
internal/ethapi: support block number or hash on state-related methods ( #19491 )
5 years ago
websocket.go
rpc, p2p/simulations: use github.com/gorilla/websocket ( #20289 )
5 years ago
websocket_test.go
rpc: implement websockets with github.com/gorilla/websocket ( #19866 )
5 years ago