lotus

package
v0.2.0-pre.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

Module exposes the filecoin wallet api.

func New

New creates a new net module.

func (*Module) ConnectPeer

func (m *Module) ConnectPeer(ctx context.Context, addrInfo peer.AddrInfo) error

ConnectPeer implements ConnectPeer.

func (*Module) Connectedness

func (m *Module) Connectedness(ctx context.Context, peerID peer.ID) (net.Connectedness, error)

Connectedness implements Connectedness.

func (*Module) DisconnectPeer

func (m *Module) DisconnectPeer(ctx context.Context, peerID peer.ID) error

DisconnectPeer implements DisconnectPeer.

func (*Module) FindPeer

func (m *Module) FindPeer(ctx context.Context, peerID peer.ID) (net.PeerInfo, error)

FindPeer implements FindPeer.

func (*Module) ListenAddr

func (m *Module) ListenAddr(ctx context.Context) (peer.AddrInfo, error)

ListenAddr implements ListenAddr.

func (*Module) Peers

func (m *Module) Peers(ctx context.Context) ([]net.PeerInfo, error)

Peers implements Peers.

Jump to

Keyboard shortcuts

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