betesting

package
v0.0.0-...-e58a86d Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(t testing.TB, b backend.Backend)

func NewDefaultTmpBackend

func NewDefaultTmpBackend(t testing.TB) (backend.Backend, string)

func NewTmpBackend

func NewTmpBackend(t testing.TB, batchInterval time.Duration, batchLimit int) (backend.Backend, string)

NewTmpBackend creates a backend implementation for testing.

func NewTmpBackendFromCfg

func NewTmpBackendFromCfg(t testing.TB, bcfg backend.BackendConfig) (backend.Backend, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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