bst

package
v2.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBST

func NewBST() bst.Storage

Types

type BST

type BST struct {
	// contains filtered or unexported fields
}

BST ...

func (*BST) Contains

func (b *BST) Contains(topic string) bool

func (*BST) Get

func (b *BST) Get(topic string) map[string]struct{}

func (*BST) Insert

func (b *BST) Insert(uuid string, topic string)

Insert uuid to the topic

func (*BST) Remove

func (b *BST) Remove(uuid string, topic string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL