Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ObtainJwtSecret ¶
Types ¶
type CaplinCliCfg ¶
type CaplinCliCfg struct { *sentinelcli.SentinelCliCfg Chaindata string `json:"chaindata"` ErigonPrivateApi string `json:"erigon_private_api"` AllowedEndpoints []string `json:"endpoints"` BeaconApiReadTimeout time.Duration `json:"beacon_api_read_timeout"` BeaconApiWriteTimeout time.Duration `json:"beacon_api_write_timeout"` BeaconAddr string `json:"beacon_addr"` BeaconProtocol string `json:"beacon_protocol"` DataDir string `json:"data_dir"` RunEngineAPI bool `json:"run_engine_api"` EngineAPIAddr string `json:"engine_api_addr"` EngineAPIPort int `json:"engine_api_port"` MevRelayUrl string `json:"mev_relay_url"` CustomConfig string `json:"custom_config"` CustomGenesisState string `json:"custom_genesis_state"` MaxPeerCount uint64 `json:"max_peer_count"` JwtSecret []byte AllowedMethods []string `json:"allowed_methods"` AllowedOrigins []string `json:"allowed_origins"` AllowCredentials bool `json:"allow_credentials"` Dirs datadir.Dirs }
func SetupCaplinCli ¶
func SetupCaplinCli(ctx *cli.Context) (cfg *CaplinCliCfg, err error)
Click to show internal directories.
Click to hide internal directories.