Discover Packages
github.com/dragmz/wc2
jsonrpc
package
Version:
v0.0.0-...-8dc8ab2
Opens a new window with list of versions in this module.
Published: Nov 23, 2023
License: MIT
Opens a new window with license information.
Imports: 2
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"`
}
type Request struct {
Params interface{} `json:"params"`
}
type Response[T any ] struct {
Id interface{} `json:"id"`
JsonRpc string `json:"jsonrpc"`
Result T `json:"result"`
Error *Error `json:"error,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.