traverser

package
v0.0.0-...-6c519ef Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TraverserCreatePath

func TraverserCreatePath(f *NotificationFilter) []uint64

func TraverserTraverse

func TraverserTraverse(data interface{}) pubsub.Paths

Types

type Notification

type Notification struct {
	Added    bool
	Key      string
	Producer Producer
}

Notification is used in the PubSub to alert upon producers coming and going.

type NotificationFilter

type NotificationFilter struct {
	Added *bool
	Key   *string
}

type Producer

type Producer interface {
	// Produce implements streamaggregator.Producer
	Produce(ctx context.Context, request interface{}, c chan<- interface{})
}

Producer is a type copy of streamaggregator.Producer

Jump to

Keyboard shortcuts

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