Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // db configs DatabaseUsername string DatabasePassword string DatabaseName string DatabaseHost string DatabaseMaxIdleConns uint64 DatabaseMaxOpenConns uint64 DatabaseMaxConnLifetime uint64 CORSOrigins []string // rpc configs SrcRPCUrl string DestRPCUrl string ProcessingFeeMultiplier float64 DestTaikoAddress common.Address HTTPPort uint64 OpenDBFunc func() (db.DB, error) }
func NewConfigFromCliContext ¶
NewConfigFromCliContext creates a new config instance from command line flags.
Click to show internal directories.
Click to hide internal directories.