redis

package
v0.0.0-...-f17446d Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package redis contains cache implementations using Redis as the underlying database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChannelCache

func NewChannelCache(client *redis.Client) things.ChannelCache

NewChannelCache returns redis channel cache implementation.

func NewEventStoreMiddleware

func NewEventStoreMiddleware(svc things.Service, client *redis.Client) things.Service

NewEventStoreMiddleware returns wrapper around things service that sends events to event store.

func NewThingCache

func NewThingCache(client *redis.Client) things.ThingCache

NewThingCache returns redis thing cache implementation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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