db

package
v0.0.0-...-1aed462 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package db provides helpers to connect to test databases. It has no internal dependencies on orbit and so should be able to be imported by any orbit package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HorizonURL

func HorizonURL() string

HorizonURL returns the database connection the url any test use when connecting to the history/orbit database

func Orbit

func Orbit(t *testing.T) *sqlx.DB

Orbit returns a connection to the orbit test database

func StellarCore

func StellarCore(t *testing.T) *sqlx.DB

StellarCore returns a connection to the rover core test database

func StellarCoreURL

func StellarCoreURL() string

StellarCoreURL returns the database connection the url any test use when connecting to the rover-core database

Types

This section is empty.

Jump to

Keyboard shortcuts

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