package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Sep 8, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type App struct {
LogSavePath string `mapstructure:"log_save_path"`
LogFileName string `mapstructure:"log_file_name"`
LogFileExt string `mapstructure:"log_file_ext"`
Mode string `mapstructure:"mode"`
}
type CkbNode struct {
RpcUrl string `mapstructure:"rpc_url"`
Mode string `mapstructure:"mode"`
}
type Database struct {
Driver string
Dsn string
MaxIdleConns int `mapstructure:"max_idle_conns"`
MaxOpenConns int `mapstructure:"max_open_conns"`
ConnMaxLifeTime time.Duration `mapstructure:"conn_max_lifetime"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.