Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualLists ¶
func EqualLists(tb testing.TB, a, b subscription.List) bool
EqualLists is a utility function to compare subscription lists and show a pretty failure message It overcomes the verbose depth of assert.ElementsMatch spewConfig Duplicate of exchange/subscription/subscription:equalList
Types ¶
type StrictKey ¶
type StrictKey struct {
*subscription.ExactKey
}
StrictKey is key type for subscriptions where all the pairs, QualifiedChannel and Params in a Subscription must match exactly
func (StrictKey) Match ¶
func (k StrictKey) Match(eachKey subscription.MatchableKey) bool
Match implements MatchableKey Returns true if the key fields exactly matches the subscription, including all Pairs, QualifiedChannel and Params