Documentation ¶
Overview ¶
Package idprovidertest provides a test helper functions to initialize a local ID provider instance with a given list of peer IDs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIDProvider ¶
NewIDProvider sets up a local ID provider instance as a file in the system's temp directory with the given list of peers IDs and returns the ID provider URL, which is path of the file. .
func NewIDProviderT ¶
NewIDProviderT is the test friendly version of NewIDProvider. It uses the passed testing.T to handle the errors and registers the cleanup functions on it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.