feat: omc原始代码

This commit is contained in:
TsMask
2024-03-12 10:58:33 +08:00
parent 5133c93971
commit 2d01bb86d1
432 changed files with 66597 additions and 1 deletions

3
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"recommendations": []
}

59
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,59 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "调试模式",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "./restagent/restagent.go",
"console": "integratedTerminal",
"args": ["--env", "local"] // 走开发配置
},
{
"name": "DEBUG restagent",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/be.ems/restagent/",
"console": "integratedTerminal"
},
{
"name": "debug sshsvc",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/be.ems/sshsvc/sshsvc.go",
"console": "integratedTerminal"
},
{
"name": "debug loadpconf",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/be.ems/tools/loadpconf",
"args": ["-p","../../config/param/smf_param_config.yaml"],
"console": "integratedTerminal"
},
{
"name": "debug crontask",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/be.ems/crontask",
"console": "integratedTerminal"
},
{
"name": "debug encyaml",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/be.ems/tools/encode",
//"args": ["-p","../../config/param/smf_param_config.yaml"],
"console": "integratedTerminal"
}
]
}

11
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,11 @@
{
"go.toolsEnvVars": {
"GOARCH": "amd64",
"GOOS": "windows"
},
"go.testEnvVars": {
"GOARCH": "wasm",
"GOOS": "js"
},
"commentTranslate.hover.enabled": true
}