httpjsonrpc

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(w http.ResponseWriter, code errors.ErrCode, method interface{})

func Handle

func Handle(w http.ResponseWriter, r *http.Request)

this is the funciton that should be called in order to answer an rpc call should be registered like "http.AddMethod("/", httpjsonrpc.Handle)"

func StartRPCServer

func StartRPCServer()

Types

This section is empty.

Jump to

Keyboard shortcuts

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