- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for shutdownRes (0.11 sec)
-
src/net/http/serve_test.go
var once sync.Once statesRes := make(chan map[ConnState]int, 1) shutdownRes := make(chan error, 1) gotOnShutdown := make(chan struct{}) handler := HandlerFunc(func(w ResponseWriter, r *Request) { first := false once.Do(func() { statesRes <- cst.ts.Config.ExportAllConnsByState() go func() { shutdownRes <- cst.ts.Config.Shutdown(context.Background()) }() first = true })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0)