Rename sockets.nim to socket.nim and rpcsockets.nim to rpcsocket.nim

This commit is contained in:
coffeepots 2018-07-11 10:40:20 +01:00
parent b602dd4185
commit 13ae592738
7 changed files with 6 additions and 6 deletions

2
rpcsocket.nim Normal file
View File

@ -0,0 +1,2 @@
import json_rpc / server, json_rpc / transports / socket
export server, socket

View File

@ -1,2 +0,0 @@
import json_rpc / server, json_rpc / transports / sockets
export server, sockets

View File

@ -3,7 +3,7 @@
allow unchecked and unformatted calls.
]#
import unittest, debugclient, ../rpcsockets
import unittest, debugclient, ../rpcsocket
import strformat, chronicles
var server = newRpcSocketServer("localhost", 8547.Port)

View File

@ -1,5 +1,5 @@
import unittest, json, tables
import ../rpcclient, ../rpcsockets
import ../rpcclient, ../rpcsocket
import stint, ethtypes, ethprocs, stintjson, nimcrypto, ethhexstrings, chronicles
from os import getCurrentDir, DirSep

View File

@ -1,5 +1,5 @@
import unittest, json, tables, chronicles
import ../rpcsockets
import ../rpcsocket
type
# some nested types to check object parsing

View File

@ -1,5 +1,5 @@
import unittest, json, chronicles
import ../rpcclient, ../rpcsockets
import ../rpcclient, ../rpcsocket
var srv = newRpcSocketServer(["localhost:8545"])
var client = newRpcStreamClient()