From cb4ba522ef643073c1b1ae372ef0a5e32078cb5f Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Sat, 9 Dec 2017 23:05:13 -0600 Subject: [PATCH] add String method to Query interface Required for https://github.com/tendermint/tendermint/issues/945 --- pubsub/pubsub.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pubsub/pubsub.go b/pubsub/pubsub.go index 52b8361f..27f15cbe 100644 --- a/pubsub/pubsub.go +++ b/pubsub/pubsub.go @@ -38,6 +38,7 @@ type cmd struct { // Query defines an interface for a query to be used for subscribing. type Query interface { Matches(tags map[string]interface{}) bool + String() string } // Server allows clients to subscribe/unsubscribe for messages, publishing