correlationjsonrpc

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package correlationjsonrpc is the target-oriented path for JSON-RPC correlation. Its public types and behavior retain the released jsonrpc package identities.

Index

Constants

View Source
const (
	// CorrelationField carries the logical workflow identifier.
	CorrelationField = legacy.CorrelationField
	// RequestField carries the current JSON-RPC hop identifier.
	RequestField = legacy.RequestField
	// CausationField carries the immediate parent identifier.
	CausationField = legacy.CausationField
)

Variables

View Source
var (
	// ErrInvalidOptions reports incomplete adapter configuration.
	ErrInvalidOptions = legacy.ErrInvalidOptions
	// ErrMalformedMetadata reports non-string or oversized JSON metadata.
	ErrMalformedMetadata = legacy.ErrMalformedMetadata
)

Functions

This section is empty.

Types

type Adapter

type Adapter = legacy.Adapter

Adapter explicitly sends and receives JSON-RPC metadata.

func New

func New(factory *correlation.Factory, options Options) (*Adapter, error)

New constructs a JSON-RPC metadata adapter.

type Metadata

type Metadata = legacy.Metadata

Metadata preserves repeated JSON members supplied by a strict envelope decoder so conflicting duplicates cannot be silently collapsed.

type Options

type Options = legacy.Options

Options configure JSON-RPC metadata validation and names.

Jump to

Keyboard shortcuts

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