rpc

package
v0.0.0-...-b35bc85 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitServer

func InitServer(configObject *config.Config, dbObject *db.Postgre, bcObject *bc.Burrow)

InitServer for init restful API Server

Types

type Response

type Response struct {
	ErrorNumber      int                    `json:"error"`
	ErrorDescription string                 `json:"desc"`
	Result           map[string]interface{} `json:"result"`
}

Response returns response object for rest API

Jump to

Keyboard shortcuts

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