coremock

package
v0.6.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockCmdsCtx added in v0.3.6

func MockCmdsCtx() (commands.Context, error)

func MockHostOption added in v0.3.8

func MockHostOption(mn mocknet.Mocknet) libp2p2.HostOption

func MockPublicNode added in v0.5.0

func MockPublicNode(ctx context.Context, mn mocknet.Mocknet) (*core.IpfsNode, error)

func NewMockNode

func NewMockNode() (*core.IpfsNode, error)

NewMockNode constructs an IpfsNode for use in tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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