Help us shape the future of Go! Take the 2026 Go Developer Survey

goginjsonrpc

package module
v0.0.0-...-808d02b Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2015 License: MIT Imports: 6 Imported by: 2

README

go-gin-jsonrpc

Very basic and simple jsonrpc server implementation for golang and gin-gonic

Example of usage:

  rpc := TestRPC{}
  router := gin.Default()
  router.POST("/", func(c *gin.Context) { goginjsonrpc.ProcessJsonRPC(c, &rpc); })
  router.Run("127.0.0.1:8000")

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessJsonRPC

func ProcessJsonRPC(c *gin.Context, api interface{})

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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