Skip to content

gohessian implements Hessian Protocol by golang

Notifications You must be signed in to change notification settings

hackerzgz/gohessian

 
 

Repository files navigation

gohessian

gohessian implements Hessian Protocol by golang

Install

$ go get github.com/hackez/gohessian

Usage

package main

import (
    "fmt"
    gh "github.com/hackez/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)
}

About

gohessian implements Hessian Protocol by golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%