redis

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouteMapRepository

func NewRouteMapRepository(client *redis.Client, prefix string) lora.RouteMapRepository

NewRouteMapRepository returns redis thing cache implementation.

Types

type EventStore

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

EventStore represents event source for things and channels provisioning.

func NewEventStore

func NewEventStore(svc lora.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