summaryrefslogtreecommitdiff
path: root/plugins/rpc/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/rpc/config.go')
-rw-r--r--plugins/rpc/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/rpc/config.go b/plugins/rpc/config.go
index 1039ee5e..719fd5e3 100644
--- a/plugins/rpc/config.go
+++ b/plugins/rpc/config.go
@@ -12,6 +12,9 @@ import (
type Config struct {
// Listen string
Listen string
+
+ // Disabled disables RPC service.
+ Disabled bool
}
// InitDefaults allows to init blank config with pre-defined set of default values.