We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2fa2bf commit 18cb585Copy full SHA for 18cb585
README.md
@@ -156,7 +156,6 @@ package main
156
import (
157
"github.com/hprose/hprose-golang/rpc"
158
"github.com/labstack/echo"
159
- "github.com/labstack/echo/engine/standard"
160
)
161
162
func hello(name string) string {
@@ -167,8 +166,8 @@ func main() {
167
166
service := rpc.NewHTTPService()
168
service.AddFunction("hello", hello)
169
e := echo.New()
170
- e.Any("/hello", standard.WrapHandler(service))
171
- e.Run(standard.New(":8080"))
+ e.Any("/hello", echo.WrapHandler(service))
+ e.Start(":8080")
172
}
173
```
174
0 commit comments