mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 11:27:06 +00:00
give some more control over request params and their entries for the end-developers
Former-commit-id: 91362d3de5c63faf0d124e66747e40ad0df04fbb
This commit is contained in:
@@ -77,7 +77,7 @@ func main() {
|
||||
|
||||
go func() {
|
||||
i := 0
|
||||
for range time.Tick(1*time.Second){ //another way to get clock signal
|
||||
for range time.Tick(1 * time.Second) { //another way to get clock signal
|
||||
mutex.Lock()
|
||||
broadcast(Conn, fmt.Sprintf("aaaa2 %d\n", i))
|
||||
mutex.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user