ServetTLS => ServeTLS in function docs

This commit is contained in:
Nelson Melo 2018-12-20 12:10:32 -05:00
parent e07a78c64b
commit d0c7ccd0db
No known key found for this signature in database
GPG key ID: 15401B4A018E5981

View file

@ -60,7 +60,7 @@ func (srv *Server) ListenAndServe() error {
return srv.Serve(ln) 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. // channels to reload or shutdown the server.
func (srv *Server) Serve(ln net.Listener) error { func (srv *Server) Serve(ln net.Listener) error {
var err error var err error