httprpc

package module
v0.0.0-...-c40b7de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2013 License: MIT Imports: 8 Imported by: 0

README

A package containing codecs for Gorilla RPC: https://github.com/gorilla/rpc.

Not all server/client codecs are implemented:

####json2 client only

####soap server only

####jsonrest server only

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallJson

func CallJson(version, address, method string, params, reply interface{}) error

func CallRaw

func CallRaw(address, method string, params, reply interface{}, contentType string, encoder RPCEncoder, decoder RPCDecoder) error

Types

type RPCDecoder

type RPCDecoder func(r io.Reader, reply interface{}) error

type RPCEncoder

type RPCEncoder func(method string, args interface{}) ([]byte, error)

Directories

Path Synopsis
HTTP JSON Gorilla RPC for golang
HTTP JSON Gorilla RPC for golang
A codec for gorilla rpc to handle REST Follows the JSONRPC 2.0 spec.
A codec for gorilla rpc to handle REST Follows the JSONRPC 2.0 spec.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL