ubuntu go进程信号
摘要:
package mainimport ("fmt""os""os/signal""time")func main() {go signalListen()for {time.Sleep(10 * time.Second)}}func signalListen() {c := make(chan os 阅读全文
posted @ 2021-08-31 15:00 csuyangpeng 阅读(91) 评论(0) 推荐(0) 编辑