add String method to Query interface
Required for https://github.com/tendermint/tendermint/issues/945
This commit is contained in:
parent
b49bce2bc3
commit
cb4ba522ef
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue