mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-13 13:21:20 +00:00
add String method to Query interface
Required for https://github.com/tendermint/tendermint/issues/945
This commit is contained in:
@ -38,6 +38,7 @@ type cmd struct {
|
|||||||
// Query defines an interface for a query to be used for subscribing.
|
// Query defines an interface for a query to be used for subscribing.
|
||||||
type Query interface {
|
type Query interface {
|
||||||
Matches(tags map[string]interface{}) bool
|
Matches(tags map[string]interface{}) bool
|
||||||
|
String() string
|
||||||
}
|
}
|
||||||
|
|
||||||
// Server allows clients to subscribe/unsubscribe for messages, publishing
|
// Server allows clients to subscribe/unsubscribe for messages, publishing
|
||||||
|
Reference in New Issue
Block a user