api_jsonRPC_response

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(
	result interface{},
	responseErr error,
	requestID json.RawMessage,
) ([]byte, error)

func HandleResponse

func HandleResponse(
	w http.ResponseWriter,
	err error,
	resp *api_jsonRPC_protocol.RPCResponse,
	reqCode json.RawMessage,
)

func HandleServiceError

func HandleServiceError(
	w http.ResponseWriter,
	reqCode json.RawMessage,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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