consumer

package
v0.0.0-...-97327ab Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package consumer contains events consumer for events published by Things service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventStore

type EventStore interface {
	// Subscribes to given subject and receives events.
	Subscribe(string) error
}

EventStore represents event source for things and channels provisioning.

func NewEventStore

func NewEventStore(svc bootstrap.Service, client *redis.Client, consumer string, log logger.Logger) EventStore

NewEventStore returns new event store instance.

Jump to

Keyboard shortcuts

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