Documentation ¶
Overview ¶
Package testenv exposes environment-dependent resources for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustDB ¶
MustDB returns a *sql.DB for dbname, or panics if the database is unreachable. Calling the cleanup func drops all data in the database.
func NewDynamoService ¶
NewDynamoService configures a local dynamo client connected to DYNAMODB_HOST or localhost:8000, which should be running aws-dynamodb-local.
func NewKafkaURLs ¶
NewKafkaURLs returns the broker addresses for Sarama to connect to a local Kafka host at KAFKA_HOST or localhost:9092.
func NewRedisPool ¶
NewRedisPool returns a redis pool connected to RedisURL.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.