Versions in this module Expand all Collapse all v1 v1.0.0 Feb 26, 2024 Changes in this version + type AWSSecretManagerConfig struct + Region string + SecretName string + type Config struct + AccountWhiteList []string + ChainID string + HTTP HTTPConfig + Logger LoggerConfig + MerkleRoot string + Metrics MetricsConfig + Secret SecretConfig + Store StoreConfig + func NewConfig(configPath string) (*Config, error) + type HTTPConfig struct + Addr string + IdleTimeout time.Duration + MaxHeaderBytes int + Port uint16 + ReadHeaderTimeout time.Duration + ReadTimeout time.Duration + WriteTimeout time.Duration + type LocalSecretConfig struct + PrivateKey string + type LoggerConfig struct + Format logger.LogFormat + Level string + type MemoryStoreConfig struct + MerkleProofs string + type MetricsConfig struct + Addr string + Enable bool + IdleTimeout time.Duration + MaxHeaderBytes int + PProf bool + Path string + Port uint16 + ReadHeaderTimeout time.Duration + ReadTimeout time.Duration + WriteTimeout time.Duration + type SQLStoreConfig struct + ConnectTimeout string + DBName string + DialTimeout time.Duration + Host string + LogLevel int + MaxIdleConn int + MaxIdleTime time.Duration + MaxLifetime time.Duration + MaxOpenConn int + Password string + Port uint + ReadTimeout string + SQLDriver string + SSLMode bool + User string + WriteTimeout string + type SecretConfig struct + AWSSecretManagerConfig AWSSecretManagerConfig + LocalSecretConfig LocalSecretConfig + Type string + type StoreConfig struct + Driver string + MemoryStore MemoryStoreConfig + SqlStore SQLStoreConfig