helpers

package
v0.0.0-...-b56df8a Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const SubscriptionName = "test-source-subscription"
View Source
const TopicName = "test-source-topic"

Variables

View Source
var Subscription *pubsub.Subscription
View Source
var Topic *pubsub.Topic

Functions

func FetchFromSubscription

func FetchFromSubscription(parent context.Context, t tester, amount int) []*pubsub.Message

func GetMessageDatas

func GetMessageDatas(quantity int, seed int) [][]byte

func GetTimestamp

func GetTimestamp() int

func PublishExampleMessages

func PublishExampleMessages(t tester, testAmount, GetTimestamp int) [][]byte

func SetUp

func SetUp(t tester)

Types

This section is empty.

Jump to

Keyboard shortcuts

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