testutils

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: CC0-1.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Peer

func Peer() string

Peer generates a peer for testing purposes.

Types

type TestConfig

type TestConfig struct {
	One   *config.Config
	Two   *config.Config
	Three *config.Config
}

func Config

func Config(t *testing.T) (TestConfig, func() error, error)

Jump to

Keyboard shortcuts

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