feat: 删除 app_container ,修改安装逻辑

This commit is contained in:
zhengkunwang223
2022-10-11 16:27:58 +08:00
committed by zhengkunwang223
parent 12617f95dd
commit c65afb7083
23 changed files with 377 additions and 313 deletions

View File

@@ -78,9 +78,9 @@ func RandStr(n int) string {
return string(b)
}
func ScanPort(port string) bool {
func ScanPort(port int) bool {
ln, err := net.Listen("tcp", ":"+port)
ln, err := net.Listen("tcp", ":"+strconv.Itoa(port))
if err != nil {
return true
}