neoneo-go/pkg/rpc
Roman Khimov d5df1212c2 rpc/server: start and shutdown Server in tests
It will be important for proper subscription testing and it doesn't hurt even
though technically we've got two http servers listening after this change (one
is a regular Server's http.Server and one is httptest's Server). Reusing
rpc.Server would be nice, but it requires some changes to Start sequence to
start Listener with net.Listen and then communicate back its resulting
Addr. It's not very convenient especially given that no other code needs it,
so doing these changes just for a bit cleaner testing seems like and
overkill.

Update config appropriately. Update Start comment along the way.
2020-05-12 17:42:34 +03:00
..
client rpc/client: add minimalistic websocket client 2020-04-30 22:59:19 +03:00
request rpc, smartcontract: move contract metadata to smartcontract package 2020-04-29 13:50:05 +03:00
response Merge pull request #789 from nspcc-dev/fix/tx_specific_data_marshalling 2020-03-30 16:10:25 +03:00
server rpc/server: start and shutdown Server in tests 2020-05-12 17:42:34 +03:00
rpc_config.go config: move config.go out of config/ 2020-03-31 17:55:59 +03:00