rpcclient

package
v0.0.0-...-7ece11e Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HighwayAddr

type HighwayAddr struct {
	Libp2pAddr string
	RPCUrl     string
}

type RPCClient

type RPCClient struct{}

func (*RPCClient) DiscoverHighway

func (rpcClient *RPCClient) DiscoverHighway(
	discoverPeerAddress string,
	shardsStr []string,
) (
	map[string][]HighwayAddr,
	error,
)

type Request

type Request struct {
	Shard []string
}

type Response

type Response struct {
	PeerPerShard map[string][]HighwayAddr
}

Jump to

Keyboard shortcuts

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