Browse Source

add String method to Query interface

Required for https://github.com/tendermint/tendermint/issues/945
pull/1842/head
Anton Kaliaev 7 years ago
parent
commit
cb4ba522ef
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      pubsub/pubsub.go

+ 1
- 0
pubsub/pubsub.go View File

@ -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…
Cancel
Save