From 66622fd907f8d594c4f679e2629253086a459e86 Mon Sep 17 00:00:00 2001 From: thinkgo Date: Tue, 3 Sep 2024 11:54:49 +0800 Subject: [PATCH] fix: fix comment --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 60c7af9..06e97a3 100644 --- a/server.go +++ b/server.go @@ -94,7 +94,7 @@ func (sf *Server) ListenAndServe(network, addr string) error { return sf.Serve(l) } -// ListenAndServe is used to create a listener and serve on it +// ListenAndServeTLS is used to create a TLS listener and serve on it func (sf *Server) ListenAndServeTLS(network, addr string, c *tls.Config) error { l, err := tls.Listen(network, addr, c) if err != nil {