From d2c8ea4e1e5b8a28496e349cf1bc9e6f5a23ddbd Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Tue, 30 Mar 2021 09:33:26 -0700 Subject: [PATCH] Adding rpc directory --- src/rpc/index.js | 11 +++++++++++ src/rpc/users/index.js | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/rpc/index.js create mode 100644 src/rpc/users/index.js diff --git a/src/rpc/index.js b/src/rpc/index.js new file mode 100644 index 0000000..d37dcce --- /dev/null +++ b/src/rpc/index.js @@ -0,0 +1,11 @@ +/* + This is the parent class library for the RPC controller. +*/ + +class JSONRPC { + constructor (localConfig) { + console.log('instantiating JSONRPC') + } +} + +module.exports = JSONRPC diff --git a/src/rpc/users/index.js b/src/rpc/users/index.js new file mode 100644 index 0000000..37b34f2 --- /dev/null +++ b/src/rpc/users/index.js @@ -0,0 +1,11 @@ +/* + This is the JSON RPC router for the users API +*/ + +class UsersRPC { + constructor (localConfig) { + console.log('instantiating UsersRPC') + } +} + +module.exports = UsersRPC