Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity struct {
// contains filtered or unexported fields
}
Entity controller for category entity retrieval
func (*Entity) Data ¶
func (controller *Entity) Data(c context.Context, r *web.Request, params web.RequestParams) interface{}
Data controller for category entities
func (*Entity) Inject ¶
func (controller *Entity) Inject(service domain.CategoryService)
Inject the Entity controller required dependencies
type Tree ¶
type Tree struct {
// contains filtered or unexported fields
}
Tree controller for category tree retrieval
func (*Tree) Data ¶
func (controller *Tree) Data(c context.Context, r *web.Request, params web.RequestParams) interface{}
Data controller for category trees
func (*Tree) Inject ¶
func (controller *Tree) Inject(service domain.CategoryService)
Inject the Tree controller required dependencies
type ViewController ¶
type ViewController struct { domain.CategoryService SearchService *application.ProductSearchService // contains filtered or unexported fields }
ViewController prividing actions for category single view
func (*ViewController) Inject ¶
func (vc *ViewController) Inject( responder *web.Responder, categoryService domain.CategoryService, searchService *application.ProductSearchService, router *web.Router, logger flamingo.Logger, paginationInfoFactory *utils.PaginationInfoFactory, breadcrumbService *breadcrumb.BreadcrumbService, config *struct { Template string `inject:"config:commerce.category.view.template"` TeaserTemplate string `inject:"config:commerce.category.view.teaserTemplate"` }, )
Inject the ViewController controller required dependencies
type ViewData ¶
type ViewData struct { ProductSearchResult *application.SearchResult Category domain.Category CategoryTree domain.Tree SearchMeta searchdomain.SearchMeta PaginationInfo utils.PaginationInfo }
ViewData for rendering context
Click to show internal directories.
Click to hide internal directories.