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.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/pkg/bst/interface.go b/pkg/bst/interface.go
deleted file mode 100644
index 95b03e11..00000000
--- a/pkg/bst/interface.go
+++ /dev/null
@@ -1,13 +0,0 @@
-package bst
-
-// Storage is general in-memory BST storage implementation
-type Storage interface {
- // Insert inserts to a vertex with topic ident connection uuid
- Insert(uuid string, topic string)
- // Remove removes uuid from topic, if the uuid is single for a topic, whole vertex will be removed
- 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
-}