aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorAdnan Maolood <[email protected]>2021-02-23 18:45:58 -0500
committerAdnan Maolood <[email protected]>2021-02-23 18:45:58 -0500
commit02bbedc330bc4b241438236807d95cf024044a4d (patch)
treef8c1c74bea327ac4236fcbe2c141ef0e7349f9c1 /server.go
parentUpdate documentation (diff)
downloadgo-gemini-02bbedc330bc4b241438236807d95cf024044a4d.tar.xz
go-gemini-02bbedc330bc4b241438236807d95cf024044a4d.zip
Update documentation
Diffstat (limited to 'server.go')
-rw-r--r--server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.go b/server.go
index b5c61cf..fb8f287 100644
--- a/server.go
+++ b/server.go
@@ -229,8 +229,8 @@ func (srv *Server) deleteListener(l *net.Listener) {
}
// Serve accepts incoming connections on the Listener l, creating a new
-// service goroutine for each. The service goroutines reads the request and
-// then calls the appropriate Handler to reply to them. If the provided
+// service goroutine for each. The service goroutines read the requests and
+// then call the appropriate Handler to reply to them. If the provided
// context expires, Serve closes l and returns the context's error.
//
// Serve always closes l and returns a non-nil error.