You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
278 B

  1. package query
  2. import "github.com/tendermint/tendermint/libs/pubsub"
  3. // Empty query matches any set of tags.
  4. type Empty struct {
  5. }
  6. // Matches always returns true.
  7. func (Empty) Matches(tags pubsub.TagMap) bool {
  8. return true
  9. }
  10. func (Empty) String() string {
  11. return "empty"
  12. }