Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.