summaryrefslogtreecommitdiff
path: root/interfaces/rpc
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-13 13:42:40 +0300
committerValery Piashchynski <[email protected]>2020-11-13 13:42:40 +0300
commit002eb4bb1981558fa5e614aed22d322f0f45d7ea (patch)
tree9c03ebf549741e31875c5b354de72d14ce0e8b97 /interfaces/rpc
parent7eb675a031d751787b31bd6894c936e86b190ebf (diff)
Move all interfaces to the separate folder [RPC, METRICS, LOGGER]
RPC for the metrics update to the working state RCP interface renamed to the RPCer
Diffstat (limited to 'interfaces/rpc')
-rw-r--r--interfaces/rpc/interface.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/interfaces/rpc/interface.go b/interfaces/rpc/interface.go
new file mode 100644
index 00000000..7fd2668c
--- /dev/null
+++ b/interfaces/rpc/interface.go
@@ -0,0 +1,7 @@
+package rpc
+
+// RPCer declares the ability to create set of public RPC methods.
+type RPCer interface {
+ // Provides RPC methods for the given service.
+ RPC() (interface{}, error)
+}