Documentation ¶
Overview ¶
Package config implements the configuration parser for the RFQ Quoter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Database DatabaseConfig `yaml:"database"` OmniRPCURL string `yaml:"omnirpc_url"` // bridges is a map of chainid->address Bridges map[uint32]string `yaml:"bridges"` Port string `yaml:"port"` RelayAckTimeout time.Duration `yaml:"relay_ack_timeout"` }
Config is the configuration for the RFQ Quoter.
func LoadConfig ¶
LoadConfig loads the config from the given path.
func (Config) GetRelayAckTimeout ¶ added in v0.22.0
GetRelayAckTimeout returns the relay ack timeout.
type DatabaseConfig ¶
type DatabaseConfig struct { Type string `yaml:"type"` DSN string `yaml:"dsn"` // Data Source Name }
DatabaseConfig represents the configuration for the database.
Click to show internal directories.
Click to hide internal directories.