Skip to content

Commit 9aa0d21

Browse files
committed
improve wording
1 parent fd2aafc commit 9aa0d21

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

website/content/guide/http_server.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Echo provides following convenience methods to start HTTP server with Echo as a
1616

1717
## HTTP Server
1818

19-
`Echo.Start` is convenience method that starts http server with Echo serving requests on port 8080.
19+
`Echo.Start` is convenience method that starts http server with Echo serving requests.
2020
```go
2121
func main() {
2222
e := echo.New()
@@ -28,7 +28,7 @@ func main() {
2828
}
2929
```
3030

31-
Following is equivalent to `Echo.Start`
31+
Following is equivalent to `Echo.Start` previous example
3232
```go
3333
func main() {
3434
e := echo.New()
@@ -47,7 +47,7 @@ func main() {
4747

4848
## HTTPS Server
4949

50-
`Echo.StartTLS` is convenience method that starts HTTPS server with Echo serving requests on port 8443 and uses
50+
`Echo.StartTLS` is convenience method that starts HTTPS server with Echo serving requests on given address and uses
5151
`server.crt` and `server.key` as TLS certificate pair.
5252
```go
5353
func main() {
@@ -60,7 +60,7 @@ func main() {
6060
}
6161
```
6262

63-
Following is equivalent to `Echo.StartTLS`
63+
Following is equivalent to `Echo.StartTLS` previous example
6464
```go
6565
func main() {
6666
e := echo.New()
@@ -86,7 +86,7 @@ See [Auto TLS Recipe](/cooobook/auto-tls#server)
8686

8787
## HTTP/2 Cleartext Server (HTTP2 over HTTP)
8888

89-
`Echo.StartH2CServer` is convenience method that starts a custom HTTP/2 cleartext server on port 8080
89+
`Echo.StartH2CServer` is convenience method that starts a custom HTTP/2 cleartext server on given address
9090
```go
9191
func main() {
9292
e := echo.New()
@@ -103,7 +103,7 @@ func main() {
103103
}
104104
```
105105

106-
Following is equivalent to `Echo.StartH2CServer`
106+
Following is equivalent to `Echo.StartH2CServer` previous example
107107
```go
108108
func main() {
109109
e := echo.New()

0 commit comments

Comments
 (0)