You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
411 B

  1. package request
  2. type InitDB struct {
  3. Host string `json:"host"` // 服务器地址
  4. Port string `json:"port"` // 数据库连接端口
  5. UserName string `json:"userName" binding:"required"` // 数据库用户名
  6. Password string `json:"password"` // 数据库密码
  7. DBName string `json:"dbName" binding:"required"` // 数据库名
  8. }