testutil

package
v2.0.0-...-be9fe6b Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SampleAddrMaybeIds = []addrMaybeId{
	{},
	{Id: generics.Some(int160.T{})},
	{Id: generics.Some(*Int160WithBitSet(13))},
	{Id: generics.Some(*Int160WithBitSet(12))},
	{Addr: krpc.NodeAddr{Port: 1}.ToNodeAddrPort()},
	{
		Id:   generics.Some(*Int160WithBitSet(14)),
		Addr: krpc.NodeAddr{Port: 1}.ToNodeAddrPort(),
	},
}

Functions

func Int160WithBitSet

func Int160WithBitSet(bit int) *int160.T

Types

This section is empty.

Jump to

Keyboard shortcuts

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