Skip to content

gohessian implements Hessian Protocol by golang

Notifications You must be signed in to change notification settings

MenInBack/gohessian

 
 

Repository files navigation

gohessian

A sample hessian 2.0 protocol implementation for Go-lang

Install

$ go get -u github.com/MenInBack/gohessian

Usage

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)
}

About

gohessian implements Hessian Protocol by golang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%