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 { // AuthExpiryDelta is the delta in seconds to add to the current time to get the expiry time for the auth token. // TODO: consider only exporting via getter to prevent accidental mutation AuthExpiryDelta int64 `yaml:"auth_expiry_delta"` // TODO: consider breaking this out DBType string `yaml:"db_type"` DSN string `yaml:"dsn"` OmniRPCURL string `yaml:"omnirpc_url"` // bridges is a map of chainid->address Bridges map[uint32]string `yaml:"bridges"` Port uint16 `yaml:"port"` }
Config is the configuration for the RFQ Quoter.
func LoadConfig ¶
LoadConfig loads the config from the given path.
Click to show internal directories.
Click to hide internal directories.