摘要: func Lock() { lockFile := "./lock.pid" lock, err := os.Open(lockFile) if err == nil { defer lock.Close() filePid, err := ioutil.ReadAll(lock) if err = 阅读全文
posted @ 2023-12-22 10:17 jiftle 阅读(58) 评论(0) 推荐(0) 编辑