aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/messages.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/messages.go')
-rw-r--r--rpc/messages.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/rpc/messages.go b/rpc/messages.go
index f868c5f9b..3c011cd93 100644
--- a/rpc/messages.go
+++ b/rpc/messages.go
@@ -108,6 +108,12 @@ func newHexNum(input interface{}) *hexnum {
return d
}
+type RpcConfig struct {
+ ListenAddress string
+ ListenPort uint
+ CorsDomain string
+}
+
type InvalidTypeError struct {
method string
msg string