events

package
v0.0.0-...-bd5401e Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package events provides the domain concept definitions needed to support twins clients events functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEventStoreMiddleware

func NewEventStoreMiddleware(ctx context.Context, svc twins.Service, url string) (twins.Service, error)

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

func NewTwinCache

func NewTwinCache(client *redis.Client) twins.TwinCache

NewTwinCache returns redis twin 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