Documentation ¶
Index ¶
Constants ¶
View Source
const ( Native Mode = "native" External = "external" Infura = "infura" Light = "light" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConfig ¶
type Config ¶
type Config struct { BaseConfig Mode string `usage:"%(name)s service mode"` Rpcscheme string `usage:"External %(name)s RPC scheme (http, https)"` Rpchost string `usage:"External %(name)s RPC hostname"` Rpcport uint16 `usage:"External %(name)s RPC port"` InfuraProjectId string `usage:"Infura %(name)s provider project ID"` InfuraProjectSecret string `usage:"Infura %(name)s provider project secret"` Cache string `usage:"%(name)s cache size"` AncientChaindataDir string `usage:"Specify the container's volume mapping ancient chaindata directory. Can be located on a slower HDD."` }
type RpcParams ¶
type Service ¶
func (*Service) GetDefaultConfig ¶
func (t *Service) GetDefaultConfig() interface{}
func (*Service) GetRpcParams ¶
Click to show internal directories.
Click to hide internal directories.