update the docs

Signed-off-by: Kirill Danshin <kirill@danshin.pro>
This commit is contained in:
Kirill Danshin
2020-04-19 00:42:21 +03:00
parent cc407796cd
commit f9ef8fc47b
+3
View File
@@ -180,6 +180,9 @@ type Server struct {
// The maximum number of concurrent connections the server may serve.
//
// DefaultConcurrency is used if not set.
//
// Concurrency only works if you either call Serve once, or only ServeConn multiple times.
// It works with ListenAndServe as well.
Concurrency int
// Whether to disable keep-alive connections.