Documentation ¶
Index ¶
- Variables
- type Chain
- type Config
- type ConfigSet
- type Node
- type Nodes
- type TOMLConfig
- func (c *TOMLConfig) ConfirmationPoll() time.Duration
- func (c *TOMLConfig) IsEnabled() bool
- func (c *TOMLConfig) ListNodes() ([]db.Node, error)
- func (c *TOMLConfig) OCR2CachePollPeriod() time.Duration
- func (c *TOMLConfig) OCR2CacheTTL() time.Duration
- func (c *TOMLConfig) RequestTimeout() time.Duration
- func (c *TOMLConfig) SetFrom(f *TOMLConfig)
- func (c *TOMLConfig) TOMLString() (string, error)
- func (c *TOMLConfig) TxTimeout() time.Duration
- func (c *TOMLConfig) ValidateConfig() (err error)
- type TOMLConfigs
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct { OCR2CachePollPeriod *config.Duration OCR2CacheTTL *config.Duration RequestTimeout *config.Duration TxTimeout *config.Duration ConfirmationPoll *config.Duration }
func (*Chain) SetDefaults ¶
func (c *Chain) SetDefaults()
type TOMLConfig ¶
type TOMLConfig struct { ChainID *string FeederURL *config.URL // Do not access directly. Use [IsEnabled] Enabled *bool Chain Nodes Nodes }
func (*TOMLConfig) ConfirmationPoll ¶
func (c *TOMLConfig) ConfirmationPoll() time.Duration
func (*TOMLConfig) IsEnabled ¶
func (c *TOMLConfig) IsEnabled() bool
func (*TOMLConfig) OCR2CachePollPeriod ¶
func (c *TOMLConfig) OCR2CachePollPeriod() time.Duration
func (*TOMLConfig) OCR2CacheTTL ¶
func (c *TOMLConfig) OCR2CacheTTL() time.Duration
func (*TOMLConfig) RequestTimeout ¶
func (c *TOMLConfig) RequestTimeout() time.Duration
func (*TOMLConfig) SetFrom ¶
func (c *TOMLConfig) SetFrom(f *TOMLConfig)
func (*TOMLConfig) TOMLString ¶
func (c *TOMLConfig) TOMLString() (string, error)
func (*TOMLConfig) TxTimeout ¶
func (c *TOMLConfig) TxTimeout() time.Duration
func (*TOMLConfig) ValidateConfig ¶
func (c *TOMLConfig) ValidateConfig() (err error)
type TOMLConfigs ¶
type TOMLConfigs []*TOMLConfig
func (*TOMLConfigs) SetFrom ¶
func (cs *TOMLConfigs) SetFrom(fs *TOMLConfigs) (err error)
func (TOMLConfigs) ValidateConfig ¶
func (cs TOMLConfigs) ValidateConfig() (err error)
Click to show internal directories.
Click to hide internal directories.