mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
565 B
28 lines
565 B
10 years ago
|
package shared
|
||
|
|
||
|
import "strings"
|
||
|
|
||
|
const (
|
||
|
AdminApiName = "admin"
|
||
|
EthApiName = "eth"
|
||
|
DbApiName = "db"
|
||
|
DebugApiName = "debug"
|
||
|
MergedApiName = "merged"
|
||
|
MinerApiName = "miner"
|
||
|
NetApiName = "net"
|
||
|
ShhApiName = "shh"
|
||
|
TxPoolApiName = "txpool"
|
||
|
PersonalApiName = "personal"
|
||
|
Web3ApiName = "web3"
|
||
|
|
||
|
JsonRpcVersion = "2.0"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
// All API's
|
||
|
AllApis = strings.Join([]string{
|
||
|
AdminApiName, DbApiName, EthApiName, DebugApiName, MinerApiName, NetApiName,
|
||
|
ShhApiName, TxPoolApiName, PersonalApiName, Web3ApiName,
|
||
|
}, ",")
|
||
|
)
|