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 5ea1804 commit e1030e4Copy full SHA for e1030e4
examples/echo_hello_server/echo_hello_server.go
@@ -3,7 +3,6 @@ package main
3
import (
4
"github.com/hprose/hprose-golang/rpc"
5
"github.com/labstack/echo"
6
- "github.com/labstack/echo/engine/standard"
7
)
8
9
func hello(name string) string {
@@ -14,6 +13,6 @@ func main() {
14
13
service := rpc.NewHTTPService()
15
service.AddFunction("hello", hello)
16
e := echo.New()
17
- e.Any("/hello", standard.WrapHandler(service))
+ e.Any("/hello", echo.WrapHandler(service))
18
e.Run(standard.New(":8080"))
19
}
0 commit comments