infrastructure

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryCassandraBuilder

type CategoryCassandraBuilder struct {
	Statement string
}

func (*CategoryCassandraBuilder) Active

func (*CategoryCassandraBuilder) And

func (*CategoryCassandraBuilder) Limit

func (*CategoryCassandraBuilder) Name

type CategoryEventKafka

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

func NewCategoryEventKafka

func NewCategoryEventKafka(cfg *config.Kernel) *CategoryEventKafka

func (*CategoryEventKafka) Created

func (e *CategoryEventKafka) Created(ctx context.Context, category domain.Category) error

func (*CategoryEventKafka) HardRemoved

func (e *CategoryEventKafka) HardRemoved(ctx context.Context, id string) error

func (*CategoryEventKafka) Removed

func (e *CategoryEventKafka) Removed(ctx context.Context, id string) error

func (*CategoryEventKafka) Restored

func (e *CategoryEventKafka) Restored(ctx context.Context, id string) error

func (*CategoryEventKafka) Updated

func (e *CategoryEventKafka) Updated(ctx context.Context, category domain.Category) error

type CategoryRepositoryCassandra

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

func NewCategoryRepositoryCassandra

func NewCategoryRepositoryCassandra(pool *gocql.ClusterConfig) *CategoryRepositoryCassandra

func (*CategoryRepositoryCassandra) Fetch

func (*CategoryRepositoryCassandra) FetchByID

func (r *CategoryRepositoryCassandra) FetchByID(ctx context.Context, id string, activeOnly bool) (*domain.Category, error)

func (*CategoryRepositoryCassandra) HardRemove

func (r *CategoryRepositoryCassandra) HardRemove(ctx context.Context, id string) error

func (*CategoryRepositoryCassandra) Remove

func (*CategoryRepositoryCassandra) Replace

func (r *CategoryRepositoryCassandra) Replace(ctx context.Context, category domain.Category) error

func (*CategoryRepositoryCassandra) Restore

func (*CategoryRepositoryCassandra) Save

type CategoryRootCassandraRepository

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

func NewCategoryRootCassandraRepository

func NewCategoryRootCassandraRepository(pool *gocql.ClusterConfig) *CategoryRootCassandraRepository

func (*CategoryRootCassandraRepository) AddItem

func (r *CategoryRootCassandraRepository) AddItem(ctx context.Context, rootID string, item map[string]string) error

func (*CategoryRootCassandraRepository) Fetch

func (*CategoryRootCassandraRepository) FetchByRoot

func (*CategoryRootCassandraRepository) HardRemoveList

func (r *CategoryRootCassandraRepository) HardRemoveList(ctx context.Context, rootID string) error

func (*CategoryRootCassandraRepository) RemoveItem

func (r *CategoryRootCassandraRepository) RemoveItem(ctx context.Context, rootID, categoryID string) error

func (*CategoryRootCassandraRepository) Save

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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