Skip to content

Commit

Permalink
update the docs
Browse files Browse the repository at this point in the history
Signed-off-by: Kirill Danshin <kirill@danshin.pro>
  • Loading branch information
kirillDanshin committed Apr 18, 2020
1 parent cc40779 commit f9ef8fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f9ef8fc

Please sign in to comment.