subscriptions

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: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.0.64

func New(id string, logger *zap.Logger) *server

func TenantTopicIndexer

func TenantTopicIndexer() *topicIndexer

Types

type Store

type Store interface {
	ByTopic(tenant string, pattern []byte) (*pb.SubscriptionMetadataList, error)
	ByID(id string) (*pb.Metadata, error)
	All() (*pb.SubscriptionMetadataList, error)
	ByPeer(peer string) (*pb.SubscriptionMetadataList, error)
	BySession(id string) (*pb.SubscriptionMetadataList, error)
	Create(message *pb.Metadata) error
	Delete(id string) error
}

func NewMemDBStore

func NewMemDBStore() Store

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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