interfaces

package
v0.0.0-...-bb92df6 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: OSL-3.0 Imports: 7 Imported by: 0

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

Directories

Path Synopsis
Package graphql generated by go-bindata.// sources: schema.graphql
Package graphql generated by go-bindata.// sources: schema.graphql

Jump to

Keyboard shortcuts

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