plugeth/vendor/golang.org/x/net
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
2019-11-18 10:40:59 +02:00
..
context cmd/geth, internal, node, vendor: nuke geth monitor 2019-04-05 12:13:56 +03:00
html cmd/geth, internal, node, vendor: nuke geth monitor 2019-04-05 12:13:56 +03:00
http/httpproxy vendor, internal/build: fix OpenBSD by bumping Azure libs (#17966) 2019-07-23 15:06:44 +03:00
idna vendor, internal/build: fix OpenBSD by bumping Azure libs (#17966) 2019-07-23 15:06:44 +03:00
LICENSE Godeps, vendor: convert dependency management to trash (#3198) 2016-10-28 19:05:01 +02:00
PATENTS Godeps, vendor: convert dependency management to trash (#3198) 2016-10-28 19:05:01 +02:00