diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-09 22:06:51 +0800 |
---|---|---|
committer | Bas van Kervel <basvankervel@gmail.com> | 2015-06-11 20:01:41 +0800 |
commit | cc9ae399338557b6671e8fc83bb696c5ddb068fe (patch) | |
tree | 718e82c53c9dffebaf83cda6d1d1afe652e94e25 /rpc/api/api.go | |
parent | 08d72a9245ce6f1e11f84a6b59d66cb083bea9f9 (diff) | |
download | dexon-cc9ae399338557b6671e8fc83bb696c5ddb068fe.tar dexon-cc9ae399338557b6671e8fc83bb696c5ddb068fe.tar.gz dexon-cc9ae399338557b6671e8fc83bb696c5ddb068fe.tar.bz2 dexon-cc9ae399338557b6671e8fc83bb696c5ddb068fe.tar.lz dexon-cc9ae399338557b6671e8fc83bb696c5ddb068fe.tar.xz dexon-cc9ae399338557b6671e8fc83bb696c5ddb068fe.tar.zst dexon-cc9ae399338557b6671e8fc83bb696c5ddb068fe.zip |
added admin API
Diffstat (limited to 'rpc/api/api.go')
-rw-r--r-- | rpc/api/api.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/rpc/api/api.go b/rpc/api/api.go index d2c548ed1..28b824658 100644 --- a/rpc/api/api.go +++ b/rpc/api/api.go @@ -7,6 +7,7 @@ import ( ) const ( + AdminApiName = "admin" EthApiName = "eth" DebugApiName = "debug" MergedApiName = "merged" @@ -19,11 +20,7 @@ const ( var ( // List with all API's which are offered over the IPC interface by default DefaultIpcApis = strings.Join([]string{ - EthApiName, - DebugApiName, - MinerApiName, - NetApiName, - PersonalApiName, + AdminApiName, EthApiName, DebugApiName, MinerApiName, NetApiName, PersonalApiName, Web3ApiName, }, ",") ) |