add: sshsvc support telnet server

This commit is contained in:
2024-09-09 14:11:18 +08:00
parent 4a609d12bb
commit b5ae51d1cc
5 changed files with 30 additions and 17 deletions

View File

@@ -129,6 +129,10 @@ func XCoreDB() *core.DB {
return xEngine.DB()
}
func XEngDB() *xorm.Engine {
return xEngine
}
func ConstructInsertSQL(tableName string, insertData interface{}) (string, []string) {
log.Debug("ConstructInsertSQL processing... ")
log.Debug("Request insertData:", insertData)

View File

@@ -46,6 +46,7 @@ type MmlVar struct {
Authorization string `josn:"authorization"`
HttpUri string `json:"httpUri"`
UserAgent string `json:"userAgent"`
TagNE string `json:"tagNE"`
}
// func init() {