httprpc

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

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

Go to latest
Published: Jan 23, 2014 License: MIT Imports: 8 Imported by: 6

README

httprpc

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

Not all server/client codecs are implemented:

  • soap: server only

Note

The old httprpc is in the v1 branch.

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

Jump to

Keyboard shortcuts

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