Skip to content

Commit 0c95132

Browse files
authored
adding missing comment (#5)
1 parent 6e5e397 commit 0c95132

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/commands/server.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ type HTTPServer interface {
2020
ListenAndServeTLS(certFile, keyFile string) error
2121
}
2222

23-
// GetStdHTTPServer
23+
// GetStdHTTPServer returns a standard net/http.Server configured for a given
24+
// address and handler, and other sane defaults.
2425
func GetStdHTTPServer(addr string, h http.Handler) HTTPServer {
2526
return &http.Server{
2627
Addr: addr,

0 commit comments

Comments
 (0)