Discover Packages
github.com/kazhuravlev/lrpc
ctypes
package
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Apr 21, 2026
License: GPL-3.0
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 ErrorCode `json:"code"`
Message string `json:"message"`
}
Error is an RPC error payload.
Error returns a readable error string.
ErrorCode is a numeric service error code.
ID is a request identifier.
Method is an RPC method name.
Request is a common RPC request body.
type Response[T any ] struct {
Version string `json:"lrpc"`
ID ID `json:"id"`
Error *Error `json:"error,omitempty"`
Result T `json:"result,omitempty"`
}
Response is a common RPC response body.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.