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.

10 lines
484 B

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