Giter Site home page Giter Site logo

httpjsonrpc's Introduction

This is a work-in-progress implementation of HTTP JSON-RPC in Google Go. Any help is appreciated.

Packages details:
-httpjsonrpc - package for using HTTP JSON-RPC
	+httpjsonrpcClient.go - currently contains a simple method for calling JSON-RPC through a HTTP POST
	+httpjsonrpcServer.go - currently contains a simple method for receiving JSON-RPC through a HTTP POST
	+test.go - leftover code - sample use, sample call with predefined parameters
-BitcoinJSON - sample uses of the httpjsonrpc package for Bitcoind server
-gaehttpjsonrpc - package for using HTTP JSON-RPC on Google App Engine
	+gaehttpjsonrpcClient.go - currently contains two simple method for calling JSON-RPC through a HTTP POST, one with Basic Access Authentication and one without
	+gaehttpjsonrpcServer.go - currently contains a simple method for receiving JSON-RPC through a HTTP POST
-GAEBitcoinJSON - sample uses of the gaehttpjsonrpc package for Bitcoind server

Useful links:
-Original code - http://stackoverflow.com/questions/8918455/how-to-properly-call-json-rpc-in-go
-Bitcoind JSON call list - https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list
-Example request - https://en.bitcoin.it/wiki/Elis-API#Example_Request
-Discussion about POSTs on Google App Engine - http://stackoverflow.com/questions/9074356/gae-golang-http-json-rpc-call-works-in-the-dev-appserver-but-not-on-the-app-e


Progress so far:
-Simple calls are working
-Client packages have been tested on dev_appserver and Google App Engine a bit

Thanks to tux21b for the initial code.
Thanks to proppy for help with Google App Engine code problems

httpjsonrpc's People

Contributors

thepiachu avatar

Watchers

 avatar  avatar

Forkers

avgp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.