github.com/supragya/TendermintConnector@v0.0.0-20210619045051-113e32b84fb1/_deprecated_chains/irisnet/libs/pubsub/query/empty.go (about)

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