coremock

package
v0.15.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 16 Imported by: 1

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.14.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