编辑: 夸张的诗人 | 2017-10-19 |
2 package main;
import ( "fmt";
"html";
"log" ;
"net/http";
"strconv";
"strings";
"time" );
type ControlMessage struct { Target str ing;
Count int64;
};
func main() { contro lChannel := make(chan ControlMessage);
work erCompleteChan := make(chan bool);
statusP ollChannel := make(chan chan bool);
worker Active := false;
go admin(controlChannel,st atusPollChannel);
for { select { case resp Chan :=