package
Version:
v1.2.2
Opens a new window with list of versions in this module.
Published: Jan 8, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ErrorData struct {
Code int32 `json:"code"`
Message string `json:"message"`
Class string `json:"class"`
}
type ErrorResponse struct {
Jsonrpc string `json:"jsonrpc"`
Id int64 `json:"id"`
Context interface{} `json:"context"`
Error ErrorStruct `json:"error"`
}
type ErrorStruct struct {
Code int32 `json:"code"`
Message string `json:"message"`
Data interface{} `json:"data"`
}
type Request struct {
Jsonrpc string `json:"jsonrpc"`
Method string `json:"method"`
Params interface{} `json:"params"`
Id int64 `json:"id"`
Context interface{} `json:"context"`
}
type Response struct {
Jsonrpc string `json:"jsonrpc"`
Id int64 `json:"id"`
Result interface{} `json:"result"`
Context interface{} `json:"context"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.