client

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0, MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoPeers = errors.New("no peers")

Functions

func NewHost

func NewHost() (local.Host, error)

Types

type Dialer

type Dialer struct {
	Logger   log.Logger
	NS       string
	Peers    []string // static bootstrap peers
	Discover string   // bootstrap service multiadr
}

func (Dialer) DialRPC

func (d Dialer) DialRPC(ctx context.Context, h host.Host) (*rpc.Conn, error)

Jump to

Keyboard shortcuts

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