interactor

package
v0.0.0-...-833cb33 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blob

type Blob struct {
	// contains filtered or unexported fields
}

func NewBlob

func NewBlob(logger log.Logger, repo domain.BlobRepository, storage domain.BlobStorage, eventBus domain.BlobEvent) *Blob

func (*Blob) Delete

func (u *Blob) Delete(ctx context.Context, id, service string) error

func (*Blob) Get

func (u *Blob) Get(ctx context.Context, id, service string) (*domain.Blob, error)

func (*Blob) Store

func (u *Blob) Store(ctx context.Context, ag *domain.BlobAggregate) (*domain.Blob, error)

type BlobSAGA

type BlobSAGA struct {
	// contains filtered or unexported fields
}

func NewBlobSaga

func NewBlobSaga(logger log.Logger, repo domain.BlobRepository, storage domain.BlobStorage) *BlobSAGA

func (*BlobSAGA) Failed

func (u *BlobSAGA) Failed(ctx context.Context, rootID, service string, snapshotJSON []byte) error

Jump to

Keyboard shortcuts

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