optimize the list of comments

This commit is contained in:
landaiqing
2024-09-24 21:37:37 +08:00
parent 5d86914cb7
commit bb2f49fe74
12 changed files with 411 additions and 258 deletions

View File

@@ -9,8 +9,9 @@ type MongoDB struct {
DB string `yaml:"db"`
User string `yaml:"user"`
Password string `yaml:"password"`
MaxOpenConn int `yaml:"max-open-conn"`
MaxIdleConn int `yaml:"max-idle-conn"`
MaxOpenConn uint64 `yaml:"max-open-conn"`
MaxIdleConn uint64 `yaml:"max-idle-conn"`
Timeout int `yaml:"timeout"`
}
func (m *MongoDB) MongoDsn() string {