Movatterモバイル変換


[0]ホーム

URL:


jsonrpc

packagestandard library
go1.25.4Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License:BSD-3-ClauseImports:7Imported by:2,254

Details

Repository

cs.opensource.google/go/go

Links

Documentation

Overview

Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodecfor the rpc package.For JSON-RPC 2.0 support, seehttps://godoc.org/?q=json-rpc+2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcDial

func Dial(network, addressstring) (*rpc.Client,error)

Dial connects to a JSON-RPC server at the specified network address.

funcNewClient

func NewClient(connio.ReadWriteCloser) *rpc.Client

NewClient returns a newrpc.Client to handle requests to theset of services at the other end of the connection.

funcNewClientCodec

func NewClientCodec(connio.ReadWriteCloser)rpc.ClientCodec

NewClientCodec returns a newrpc.ClientCodec using JSON-RPC on conn.

funcNewServerCodec

func NewServerCodec(connio.ReadWriteCloser)rpc.ServerCodec

NewServerCodec returns a newrpc.ServerCodec using JSON-RPC on conn.

funcServeConn

func ServeConn(connio.ReadWriteCloser)

ServeConn runs the JSON-RPC server on a single connection.ServeConn blocks, serving the connection until the client hangs up.The caller typically invokes ServeConn in a go statement.

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp