queries

package
v0.0.0-...-3a9fddd Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCatalog

type GetCatalog struct {
	StoreID string
}

type GetCatalogHandler

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

func NewGetCatalogHandler

func NewGetCatalogHandler(catalog domain.CatalogRepository) GetCatalogHandler

func (GetCatalogHandler) GetCatalog

func (h GetCatalogHandler) GetCatalog(ctx context.Context, query GetCatalog) ([]*domain.CatalogProduct, error)

type GetParticipatingStores

type GetParticipatingStores struct{}

type GetParticipatingStoresHandler

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

func (GetParticipatingStoresHandler) GetParticipatingStores

type GetProduct

type GetProduct struct {
	ID string
}

type GetProductHandler

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

func NewGetProductHandler

func NewGetProductHandler(catalog domain.CatalogRepository) GetProductHandler

func (GetProductHandler) GetProduct

func (h GetProductHandler) GetProduct(ctx context.Context, query GetProduct) (*domain.CatalogProduct, error)

type GetStore

type GetStore struct {
	ID string
}

type GetStoreHandler

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

func NewGetStoreHandler

func NewGetStoreHandler(mall domain.MallRepository) GetStoreHandler

func (GetStoreHandler) GetStore

func (h GetStoreHandler) GetStore(ctx context.Context, query GetStore) (*domain.MallStore, error)

type GetStores

type GetStores struct{}

type GetStoresHandler

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

func NewGetStoresHandler

func NewGetStoresHandler(mall domain.MallRepository) GetStoresHandler

func (GetStoresHandler) GetStores

func (h GetStoresHandler) GetStores(ctx context.Context, _ GetStores) ([]*domain.MallStore, error)

Jump to

Keyboard shortcuts

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