Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Writer ConfigNode `mapstructure:"writer"` Reader ConfigNode `mapstructure:"reader"` Database string `mapstructure:"database"` Timezone string `mapstructure:"timezone"` ConnMaxIdleTime time.Duration `mapstructure:"conn_max_idle_time"` ConnMaxLifetime time.Duration `mapstructure:"conn_max_lifetime"` MaxIdleConns int `mapstructure:"max_idle_conns"` MaxOpenConns int `mapstructure:"max_open_conns"` LogSlowThreshold time.Duration `mapstructure:"log_slow_threshold"` LogColorful bool `mapstructure:"log_colorful"` LogIgnoreRecordNotFoundError bool `mapstructure:"log_ignore_record_not_found_error"` LogLevel string `mapstructure:"log_level"` }
Click to show internal directories.
Click to hide internal directories.