go: cloud.google.com/go/pubsub/internal/testutil Index | Files

package testutil

import "cloud.google.com/go/pubsub/internal/testutil"

Index

Package Files

verifier.go

func VerifyKeyOrdering Uses

func VerifyKeyOrdering(publishData, receiveData []OrderedKeyMsg) error

VerifyKeyOrdering verifies that received data was published and received in key order.

TODO(deklerk): account for consistent redelivery.

type OrderedKeyMsg Uses

type OrderedKeyMsg struct {
    Key  string
    Data string
}

OrderedKeyMsg is a message with key and data.

Package testutil imports 2 packages (graph). Updated 2020-06-15. Refresh now. Tools for package owners.