mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
17 lines
278 B
Go
17 lines
278 B
Go
|
package query
|
||
|
|
||
|
import "github.com/tendermint/tendermint/libs/pubsub"
|
||
|
|
||
|
// Empty query matches any set of tags.
|
||
|
type Empty struct {
|
||
|
}
|
||
|
|
||
|
// Matches always returns true.
|
||
|
func (Empty) Matches(tags pubsub.TagMap) bool {
|
||
|
return true
|
||
|
}
|
||
|
|
||
|
func (Empty) String() string {
|
||
|
return "empty"
|
||
|
}
|