Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { System System `json:"system" toml:"System"` Moralis Moralis `json:"moralis" toml:"Moralis"` BscScan BscScan `json:"bscscan" toml:"Bscscan"` Contract Contract `json:"contract" toml:"Contract"` Redis Redis `json:"redis" toml:"Redis"` Chain Chain `json:"chain" toml:"Chain"` Mysql Mysql `json:"mysql" toml:"Mysql"` SignService SignService `json:"signService" toml:"SignService"` SignWorkers []SignWorker `json:"signWorkers" toml:"SignWorkers"` Limit Limit `json:"limit" toml:"Limit"` }
var Cfg Config
type Mysql ¶
type Mysql struct { Path string `json:"path" toml:"Path"` Port string `json:"port" toml:"Port"` Config string `json:"config" toml:"Config"` Dbname string `json:"db_name" toml:"DbName"` Username string `json:"username" toml:"Username"` Password string `json:"password" toml:"Password"` MaxIdleConns int `json:"maxIdleConns" toml:"MaxIdleConns"` MaxOpenConns int `json:"maxOpenConns" toml:"MaxOpenConns"` }
type SignService ¶
type SignWorker ¶
Click to show internal directories.
Click to hide internal directories.