Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogLevel string `toml:"log_level"` Signer SignerServiceConfig `toml:"signer_service"` Metrics MetricsConfig `toml:"metrics"` Healthz HealthzConfig `toml:"healthz"` Wallets map[string]*WalletConfig `toml:"wallets"` Providers map[string]*ProviderConfig `toml:"providers"` }
type HealthzConfig ¶
type MetricsConfig ¶
type ProviderConfig ¶
type ProviderConfig struct { Network string `toml:"network"` URL string `toml:"url"` ReadOnly bool `toml:"read_only"` ReadInterval TOMLDuration `toml:"read_interval"` SendInterval TOMLDuration `toml:"send_interval"` SendTransactionRetryInterval TOMLDuration `toml:"send_transaction_retry_interval"` SendTransactionRetryTimeout TOMLDuration `toml:"send_transaction_retry_timeout"` SendTransactionCoolDown TOMLDuration `toml:"send_transaction_cool_down"` ReceiptRetrievalInterval TOMLDuration `toml:"receipt_retrieval_interval"` ReceiptRetrievalTimeout TOMLDuration `toml:"receipt_retrieval_timeout"` Wallet string `toml:"wallet"` }
type SignerServiceConfig ¶
type TOMLDuration ¶
func (*TOMLDuration) UnmarshalText ¶
func (t *TOMLDuration) UnmarshalText(b []byte) error
type WalletConfig ¶
Click to show internal directories.
Click to hide internal directories.