summaryrefslogtreecommitdiff
path: root/interfaces/rpc/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/rpc/interface.go')
-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..683fd2ec
--- /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{}
+}