Skip to content

Commit

Permalink
fix: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkgos committed Sep 3, 2024
1 parent dcaac34 commit 66622fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 66622fd

Please sign in to comment.