test

package
v2.0.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchmarkPeerstore

func BenchmarkPeerstore(b *testing.B, factory PeerstoreFactory, variant string)

func TestAddrBook

func TestAddrBook(t *testing.T, factory AddrBookFactory)

func TestKeyBook

func TestKeyBook(t *testing.T, factory KeyBookFactory)

func TestPeerstore

func TestPeerstore(t *testing.T, factory PeerstoreFactory)

Types

type AddrBookFactory

type AddrBookFactory func() (pstore.AddrBook, func())

type KeyBookFactory

type KeyBookFactory func() (pstore.KeyBook, func())

type PeerstoreFactory

type PeerstoreFactory func() (pstore.Peerstore, func())

Jump to

Keyboard shortcuts

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