node

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

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

Node ...

func New

func New(int63n func(n int64) int64) *Node

New ...

func (*Node) AddChild

func (n *Node) AddChild(key uint64) *Node

AddChild ...

func (*Node) AddSubscription

func (n *Node) AddSubscription(s func(interface{}), shardID, deterministicRoutingName string) int64

AddSubscription ...

func (*Node) ChildLen

func (n *Node) ChildLen() int

ChildLen ...

func (*Node) DeleteChild

func (n *Node) DeleteChild(key uint64)

DeleteChild ...

func (*Node) DeleteSubscription

func (n *Node) DeleteSubscription(id int64)

DeleteSubscription ...

func (*Node) FetchChild

func (n *Node) FetchChild(key uint64) *Node

FetchChild ...

func (*Node) ForEachSubscription

func (n *Node) ForEachSubscription(f func(shardID string, isDeterministic bool, s []SubscriptionEnvelope))

ForEachSubscription ...

func (*Node) SubscriptionLen

func (n *Node) SubscriptionLen() int

SubscriptionLen ...

type SubscriptionEnvelope

type SubscriptionEnvelope struct {
	Subscription func(interface{})
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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