Created
July 4, 2019 12:42
-
-
Save vkorbes/65015ffcceded2b5460dca20f883a8f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> net/http.(*Server).ListenAndServe() /usr/local/go/src/net/http/server.go:2752 (PC: 0x6c6248) | |
2747: // | |
2748: // If srv.Addr is blank, ":http" is used. | |
2749: // | |
2750: // ListenAndServe always returns a non-nil error. After Shutdown or Close, | |
2751: // the returned error is ErrServerClosed. | |
=>2752: func (srv *Server) ListenAndServe() error { | |
2753: if srv.shuttingDown() { | |
2754: return ErrServerClosed | |
2755: } | |
2756: addr := srv.Addr | |
2757: if addr == "" { | |
(dlv) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment