emulator

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearDatabase

func ClearDatabase()

ClearDatabase wipes all data from the emulator database

It panics if the DELETE request fails to be created or executed

func Get

func Get() (testDB db.Database, getError error)

Get returns the database environment for the testing emulator

func MustGet

func MustGet() db.Database

MustGet returns the database environment for the testing emulator

It is similar to get, but panics in case the environment is not able to be initialized

Types

This section is empty.

Jump to

Keyboard shortcuts

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