bsc/vendor/golang.org/x
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
..
crypto vendor: update the entire golang.org/x/crypto dependency 2019-01-04 09:26:07 +02:00
net rpc, p2p/simulations: use github.com/gorilla/websocket (#20289) 2019-11-18 10:40:59 +02:00
sync whisper: use syncmap for dynamic configuration options 2017-06-21 11:15:47 +02:00
sys vendor, internal/build: fix OpenBSD by bumping Azure libs (#17966) 2019-07-23 15:06:44 +03:00
text vendor, internal/build: fix OpenBSD by bumping Azure libs (#17966) 2019-07-23 15:06:44 +03:00
time p2p/dnsdisc: add implementation of EIP-1459 (#20094) 2019-09-25 11:38:13 +02:00