rpc

package
v0.0.0-...-1d8d417 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointRequester

type EndpointRequester interface {
	SendRequest(ctx context.Context, method string, params interface{}, reply interface{}) error
}

func NewEndpointRequester

func NewEndpointRequester(uri, endpoint, base string) EndpointRequester

type Requester

type Requester interface {
	SendJSONRPCRequest(ctx context.Context, endpoint string, method string, params interface{}, reply interface{}) error
}

func NewRPCRequester

func NewRPCRequester(uri string) Requester

Jump to

Keyboard shortcuts

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