@@ -16,7 +16,7 @@ Echo provides following convenience methods to start HTTP server with Echo as a
16
16
17
17
## HTTP Server
18
18
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.
20
20
``` go
21
21
func main () {
22
22
e := echo.New ()
@@ -28,7 +28,7 @@ func main() {
28
28
}
29
29
```
30
30
31
- Following is equivalent to ` Echo.Start `
31
+ Following is equivalent to ` Echo.Start ` previous example
32
32
``` go
33
33
func main () {
34
34
e := echo.New ()
@@ -47,7 +47,7 @@ func main() {
47
47
48
48
## HTTPS Server
49
49
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
51
51
` server.crt ` and ` server.key ` as TLS certificate pair.
52
52
``` go
53
53
func main () {
@@ -60,7 +60,7 @@ func main() {
60
60
}
61
61
```
62
62
63
- Following is equivalent to ` Echo.StartTLS `
63
+ Following is equivalent to ` Echo.StartTLS ` previous example
64
64
``` go
65
65
func main () {
66
66
e := echo.New ()
@@ -86,7 +86,7 @@ See [Auto TLS Recipe](/cooobook/auto-tls#server)
86
86
87
87
## HTTP/2 Cleartext Server (HTTP2 over HTTP)
88
88
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
90
90
``` go
91
91
func main () {
92
92
e := echo.New ()
@@ -103,7 +103,7 @@ func main() {
103
103
}
104
104
```
105
105
106
- Following is equivalent to ` Echo.StartH2CServer `
106
+ Following is equivalent to ` Echo.StartH2CServer ` previous example
107
107
``` go
108
108
func main () {
109
109
e := echo.New ()
0 commit comments