mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-06-08 15:39:51 +08:00
- 后端实现:新增Redis客户端接口与go-redis实现,支持SSH隧道连接 - API方法:新增21个Redis操作API(连接/Key/Value/命令执行等) - 连接配置:ConnectionModal支持Redis类型,自动识别端口与认证方式 - 数据浏览:RedisViewer组件支持Key列表展示、类型识别与分页加载 - 值编辑器:支持String/Hash/List/Set/ZSet五种数据类型的查看与编辑 - 二进制处理:自动检测二进制数据并以十六进制格式展示 - 命令终端:RedisCommandEditor支持多行命令执行与结果展示 - 交互优化:JSON语法高亮编辑、一键复制值、面板宽度可调整
204 lines
6.0 KiB
JavaScript
Executable File
204 lines
6.0 KiB
JavaScript
Executable File
// @ts-check
|
|
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
export function ApplyChanges(arg1, arg2, arg3, arg4) {
|
|
return window['go']['app']['App']['ApplyChanges'](arg1, arg2, arg3, arg4);
|
|
}
|
|
|
|
export function CreateDatabase(arg1, arg2) {
|
|
return window['go']['app']['App']['CreateDatabase'](arg1, arg2);
|
|
}
|
|
|
|
export function DBConnect(arg1) {
|
|
return window['go']['app']['App']['DBConnect'](arg1);
|
|
}
|
|
|
|
export function DBGetAllColumns(arg1, arg2) {
|
|
return window['go']['app']['App']['DBGetAllColumns'](arg1, arg2);
|
|
}
|
|
|
|
export function DBGetColumns(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['DBGetColumns'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function DBGetDatabases(arg1) {
|
|
return window['go']['app']['App']['DBGetDatabases'](arg1);
|
|
}
|
|
|
|
export function DBGetForeignKeys(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['DBGetForeignKeys'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function DBGetIndexes(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['DBGetIndexes'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function DBGetTables(arg1, arg2) {
|
|
return window['go']['app']['App']['DBGetTables'](arg1, arg2);
|
|
}
|
|
|
|
export function DBGetTriggers(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['DBGetTriggers'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function DBQuery(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['DBQuery'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function DBShowCreateTable(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['DBShowCreateTable'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function DataSync(arg1) {
|
|
return window['go']['app']['App']['DataSync'](arg1);
|
|
}
|
|
|
|
export function DataSyncAnalyze(arg1) {
|
|
return window['go']['app']['App']['DataSyncAnalyze'](arg1);
|
|
}
|
|
|
|
export function DataSyncPreview(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['DataSyncPreview'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function ExportData(arg1, arg2, arg3, arg4) {
|
|
return window['go']['app']['App']['ExportData'](arg1, arg2, arg3, arg4);
|
|
}
|
|
|
|
export function ExportDatabaseSQL(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['ExportDatabaseSQL'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function ExportQuery(arg1, arg2, arg3, arg4, arg5) {
|
|
return window['go']['app']['App']['ExportQuery'](arg1, arg2, arg3, arg4, arg5);
|
|
}
|
|
|
|
export function ExportTable(arg1, arg2, arg3, arg4) {
|
|
return window['go']['app']['App']['ExportTable'](arg1, arg2, arg3, arg4);
|
|
}
|
|
|
|
export function ExportTablesSQL(arg1, arg2, arg3, arg4) {
|
|
return window['go']['app']['App']['ExportTablesSQL'](arg1, arg2, arg3, arg4);
|
|
}
|
|
|
|
export function ImportConfigFile() {
|
|
return window['go']['app']['App']['ImportConfigFile']();
|
|
}
|
|
|
|
export function ImportData(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['ImportData'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function MySQLConnect(arg1) {
|
|
return window['go']['app']['App']['MySQLConnect'](arg1);
|
|
}
|
|
|
|
export function MySQLGetDatabases(arg1) {
|
|
return window['go']['app']['App']['MySQLGetDatabases'](arg1);
|
|
}
|
|
|
|
export function MySQLGetTables(arg1, arg2) {
|
|
return window['go']['app']['App']['MySQLGetTables'](arg1, arg2);
|
|
}
|
|
|
|
export function MySQLQuery(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['MySQLQuery'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function MySQLShowCreateTable(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['MySQLShowCreateTable'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function OpenSQLFile() {
|
|
return window['go']['app']['App']['OpenSQLFile']();
|
|
}
|
|
|
|
export function RedisConnect(arg1) {
|
|
return window['go']['app']['App']['RedisConnect'](arg1);
|
|
}
|
|
|
|
export function RedisDeleteHashField(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['RedisDeleteHashField'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function RedisDeleteKeys(arg1, arg2) {
|
|
return window['go']['app']['App']['RedisDeleteKeys'](arg1, arg2);
|
|
}
|
|
|
|
export function RedisExecuteCommand(arg1, arg2) {
|
|
return window['go']['app']['App']['RedisExecuteCommand'](arg1, arg2);
|
|
}
|
|
|
|
export function RedisFlushDB(arg1) {
|
|
return window['go']['app']['App']['RedisFlushDB'](arg1);
|
|
}
|
|
|
|
export function RedisGetDatabases(arg1) {
|
|
return window['go']['app']['App']['RedisGetDatabases'](arg1);
|
|
}
|
|
|
|
export function RedisGetServerInfo(arg1) {
|
|
return window['go']['app']['App']['RedisGetServerInfo'](arg1);
|
|
}
|
|
|
|
export function RedisGetValue(arg1, arg2) {
|
|
return window['go']['app']['App']['RedisGetValue'](arg1, arg2);
|
|
}
|
|
|
|
export function RedisListPush(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['RedisListPush'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function RedisListSet(arg1, arg2, arg3, arg4) {
|
|
return window['go']['app']['App']['RedisListSet'](arg1, arg2, arg3, arg4);
|
|
}
|
|
|
|
export function RedisRenameKey(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['RedisRenameKey'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function RedisScanKeys(arg1, arg2, arg3, arg4) {
|
|
return window['go']['app']['App']['RedisScanKeys'](arg1, arg2, arg3, arg4);
|
|
}
|
|
|
|
export function RedisSelectDB(arg1, arg2) {
|
|
return window['go']['app']['App']['RedisSelectDB'](arg1, arg2);
|
|
}
|
|
|
|
export function RedisSetAdd(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['RedisSetAdd'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function RedisSetHashField(arg1, arg2, arg3, arg4) {
|
|
return window['go']['app']['App']['RedisSetHashField'](arg1, arg2, arg3, arg4);
|
|
}
|
|
|
|
export function RedisSetRemove(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['RedisSetRemove'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function RedisSetString(arg1, arg2, arg3, arg4) {
|
|
return window['go']['app']['App']['RedisSetString'](arg1, arg2, arg3, arg4);
|
|
}
|
|
|
|
export function RedisSetTTL(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['RedisSetTTL'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function RedisTestConnection(arg1) {
|
|
return window['go']['app']['App']['RedisTestConnection'](arg1);
|
|
}
|
|
|
|
export function RedisZSetAdd(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['RedisZSetAdd'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function RedisZSetRemove(arg1, arg2, arg3) {
|
|
return window['go']['app']['App']['RedisZSetRemove'](arg1, arg2, arg3);
|
|
}
|
|
|
|
export function TestConnection(arg1) {
|
|
return window['go']['app']['App']['TestConnection'](arg1);
|
|
}
|