Discover Packages
github.com/globaldce/globaldce-gateway
rpc
package
Version:
v0.2.7
Opens a new window with list of versions in this module.
Published: Apr 11, 2023
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Error struct {
Code int `json:"code"`
Message string `json:"message"`
Data interface{} `json:"data,omitempty"`
}
type Request struct {
Jsonrpc string `json:"jsonrpc"`
Method string `json:"method"`
Params []string `json:"params"`
ID int `json:"id"`
}
type Response struct {
Jsonrpc string `json:"jsonrpc"`
Result *Result `json:"result,omitempty"`
Error *Error `json:"error,omitempty"`
ID int `json:"id"`
}
type Result struct {
Type string `json:"type"`
Data interface{} `json:"data,omitempty"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.