feat(connection): 添加MySQL超时配置

This commit is contained in:
xlh
2026-02-03 09:37:00 +08:00
parent c921d85813
commit ba58cd07c5
4 changed files with 36 additions and 6 deletions

View File

@@ -21,6 +21,7 @@ type ConnectionConfig struct {
SSH SSHConfig `json:"ssh"`
Driver string `json:"driver,omitempty"` // For custom connection
DSN string `json:"dsn,omitempty"` // For custom connection
Timeout int `json:"timeout,omitempty"` // Connection timeout in seconds (default: 30)
}
// QueryResult is the standard response format for Wails methods