package
Version:
v0.0.0-...-d1ec73e
Opens a new window with list of versions in this module.
Published: Sep 8, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Error struct {
Message string `json:"message"`
Code int `json:"code"`
}
type Request struct {
Id string `json:"id"`
Method string `json:"method"`
Params any `json:"params,omitempty"`
JsonRpc string `json:"jsonrpc"`
}
type Response struct {
Id string `json:"id"`
Result any `json:"result"`
Error *Error `json:"error,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.