testing

package
v1.0.0-alpha.10.5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package testing defines useful helper functions for unit tests with the slasher database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupSlasherDB

func SetupSlasherDB(t testing.TB, spanCacheEnabled bool) *kv.Store

SetupSlasherDB instantiates and returns a SlasherDB instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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