inmemory

package
v0.0.0-...-87346ed Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeviceEventRepositoryInMemory

func NewDeviceEventRepositoryInMemory(s *storage.DeviceEventStorage) repository.DeviceEventRepository

NewDeviceEventRepositoryInMemory is used ...

func NewDeviceReadRepositoryInMemory

func NewDeviceReadRepositoryInMemory(s *storage.DeviceReadStorage) repository.DeviceReadRepository

NewDeviceReadRepositoryInMemory is used ...

Types

type DeviceEventRepositoryInMemory

type DeviceEventRepositoryInMemory struct {
	Storage *storage.DeviceEventStorage
}

DeviceEventRepositoryInMemory is used ...

func (*DeviceEventRepositoryInMemory) Save

func (f *DeviceEventRepositoryInMemory) Save(uid uuid.UUID, latestVersion int, events []interface{}) <-chan error

Save is to save

type DeviceReadRepositoryInMemory

type DeviceReadRepositoryInMemory struct {
	Storage *storage.DeviceReadStorage
}

DeviceReadRepositoryInMemory is used ...

func (*DeviceReadRepositoryInMemory) Save

func (f *DeviceReadRepositoryInMemory) Save(deviceRead *storage.DeviceRead) <-chan error

Save is used ...

Jump to

Keyboard shortcuts

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