Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ViewController ¶
type ViewController struct {
// contains filtered or unexported fields
}
ViewController demonstrates a search view controller
func (*ViewController) Get ¶
Get godoc Get Response for Search matching :type param based on query q @Summary Searches for requested items @Tags Search Products Category @Produce json @Success 200 {object} APIResult{product=domain.SimpleProduct} @Failure 500 {object} APIResult @Failure 404 {object} APIResult @Param type path string true "search selection type" @Router /search/{type} [get]
func (*ViewController) Inject ¶
func (vc *ViewController) Inject(responder *web.Responder, paginationInfoFactory *utils.PaginationInfoFactory, searchService *application.SearchService, ) *ViewController
Inject dependencies
Click to show internal directories.
Click to hide internal directories.