tree

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type INode

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

func NewINode

func NewINode() *INode

func (*INode) AddNode

func (d *INode) AddNode(node *Node)

func (*INode) Insert

func (d *INode) Insert(topic topic.Topic, tenant string, subscription *pb.Metadata)

func (*INode) Remove

func (d *INode) Remove(tenant, id string, topic topic.Topic) error

func (*INode) Select

func (d *INode) Select(tenant string, set []*pb.Metadata, topic topic.Topic) []*pb.Metadata

type Node

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

func NewNode

func NewNode(tenant string, pattern []byte) *Node

func (*Node) AddSubscription

func (n *Node) AddSubscription(tenant string, subscription *pb.Metadata) *Node

func (*Node) DelSubscription

func (n *Node) DelSubscription(id string) *Node

Jump to

Keyboard shortcuts

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