rpc

package
v1.4.11-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: BSD-3-Clause Imports: 6 Imported by: 80

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointRequester

type EndpointRequester interface {
	SendRequest(method string, params interface{}, reply interface{}) error
}

EndpointRequester ...

func NewEndpointRequester

func NewEndpointRequester(uri, endpoint, base string, requestTimeout time.Duration) EndpointRequester

NewEndpointRequester ...

type Requester

type Requester interface {
	SendJSONRPCRequest(endpoint string, method string, params interface{}, reply interface{}) error
}

Requester ...

func NewRPCRequester

func NewRPCRequester(uri string, requestTimeout time.Duration) Requester

NewRPCRequester ...

Jump to

Keyboard shortcuts

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