Versions in this module Expand all Collapse all v1 v1.0.1 May 2, 2021 Changes in this version + var ExampleConfig = &Config + func NewConfig(path string) error + func ToWei(iamount interface{}, decimals int) *big.Int + type Account struct + KeyFilePassword string + KeyFilePath string + Mode string + PrivateKey string + type Blockchain struct + APIKey string + Network string + ProviderType string + RPC string + Websockets bool + type Config struct + func LoadConfig(path string) (cfg *Config, err error) + func (c *Config) Authorizer(cfg *config.Config) (*utils.Authorizer, error) + func (c *Config) EthClient(ctx context.Context) (utils.Blockchain, error) + func (c *Config) ZapLogger() (*zap.Logger, error) + type Database struct + DBName string + DBPath string + Host string + Pass string + Port string + SSLModeDisable bool + Type string + User string + type GasPrice struct + MinimumGwei string + Multiplier string + type Logger struct + Debug bool + Dev bool + Fields map[string]interface{} + FileOnly bool + Path string