summaryrefslogtreecommitdiff
path: root/pkg/bst/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bst/interface.go')
-rw-r--r--pkg/bst/interface.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/bst/interface.go b/pkg/bst/interface.go
index ecf40414..95b03e11 100644
--- a/pkg/bst/interface.go
+++ b/pkg/bst/interface.go
@@ -8,4 +8,6 @@ type Storage interface {
Remove(uuid, topic string)
// Get will return all connections associated with the topic
Get(topic string) map[string]struct{}
+ // Contains checks if the BST contains a topic
+ Contains(topic string) bool
}