Parcourir la source

ServetTLS => ServeTLS in function docs

Nelson Melo il y a 8 ans
Parent
commit
d0c7ccd0db
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      server/server.go

+ 1 - 1
server/server.go

@@ -60,7 +60,7 @@ func (srv *Server) ListenAndServe() error {
 	return srv.Serve(ln)
 }
 
-// Serve runs Serve or ServetTLS on the underlying http.Server and listen to
+// Serve runs Serve or ServeTLS on the underlying http.Server and listen to
 // channels to reload or shutdown the server.
 func (srv *Server) Serve(ln net.Listener) error {
 	var err error