Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultNatsURL = "ns://127.0.0.1:4222" DefaultNatsQueueName = "enats" DefaultNatsEndpointPrefix = "web3.rpc.request" DefaultClientURL = "ws://127.0.0.1:8545" DefaultDataDir = "./data" DefaultRpcHistorySize = 7200 )
Variables ¶
View Source
var (
DefaultRpcDenyList = []string{"admin_.*"}
)
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { NatsUrl string NatsQueueName string NatsEndpointPrefix string ClientUrl string ClientId string DataDir string RpcDenyList []string RpcHistorySize int }
func GetDefaultOptions ¶
func GetDefaultOptions() Options
Click to show internal directories.
Click to hide internal directories.