A sample hessian 2.0 protocol implementation for Go-lang
$ go get -u github.com/MenInBack/gohessian
package main
import (
"fmt"
gh "github.com/MenInBack/gohessian"
)
func main() {
c := gh.NewClient("http://www.example.com", "/helloworld")
res, err := c.Invoke("sendInt", 1)
if err != nil {
fmt.Printf("Hessian Invoke error:%s\n", err)
return
}
fmt.Printf("Hessian Invoke Success, result:%s\n", res)
}