remotecli

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT, Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommonRPC

func NewCommonRPC(ctx context.Context, addr string, requestHeader http.Header) (api.ICommon, jsonrpc.ClientCloser, error)

func NewFullNodeRPC

func NewFullNodeRPC(ctx context.Context, addr string, requestHeader http.Header) (api.IFullAPI, jsonrpc.ClientCloser, error)

NewFullNodeRPC creates a new httpparse jsonrpc remotecli.

func NewWalletRPC

func NewWalletRPC(ctx context.Context, addr string, requestHeader http.Header) (api.IWallet, jsonrpc.ClientCloser, error)

NewWalletRPC RPCClient returns an RPC client connected to a node @addr reference ./httpparse/ParseApiInfo() @requestHeader reference ./httpparse/ParseApiInfo()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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