inmemory

package
v0.0.0-...-ae75a06 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTaskEventRepositoryInMemory

func NewTaskEventRepositoryInMemory(s *storage.TaskEventStorage) repository.TaskEvent

func NewTaskReadRepositoryInMemory

func NewTaskReadRepositoryInMemory(s *storage.TaskReadStorage) repository.TaskRead

Types

type TaskEventRepositoryInMemory

type TaskEventRepositoryInMemory struct {
	Storage *storage.TaskEventStorage
}

func (*TaskEventRepositoryInMemory) Save

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

Save is to save.

type TaskReadRepositoryInMemory

type TaskReadRepositoryInMemory struct {
	Storage *storage.TaskReadStorage
}

func (*TaskReadRepositoryInMemory) Save

func (f *TaskReadRepositoryInMemory) Save(taskRead *storage.TaskRead) <-chan error

Save is to save.

Jump to

Keyboard shortcuts

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