apimodels

package
v0.0.163 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InboundRPCCall

type InboundRPCCall struct {
	ID             int    `json:"id"`
	Method         string `json:"method"`
	JSONRPCVersion string `json:"jsonrpc"`
	Params         any    `json:"params"`
}

type RPCCall

type RPCCall struct {
	ID             string `json:"id"`
	Method         string `json:"method"`
	JSONRPCVersion string `json:"jsonrpc"`
	Params         any    `json:"params"`
}

type RPCResponse

type RPCResponse struct {
	ID             string `json:"id"`
	JSONRPCVersion string `json:"jsonrpc"`
	Result         any    `json:"result"`
	Error          string `json:"error"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL