codec

package
v1.7.39 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package codec speaks the JSON-RPC spelling this repo's VMs serve. A client names a method as class.function with a lower-case initial, and the codec hands the server the exported Go method that answers it, so quantumvm.getBlock reaches Service.GetBlock.

A function whose initial is already upper-case is refused, so exactly one spelling reaches a service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() rpc.Codec

New returns a JSON-RPC codec that raises the initial of the function named after the dot.

Types

This section is empty.

Jump to

Keyboard shortcuts

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