Documentation
¶
Index ¶
- func AddTag(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func FormResponse(message string, code int, results interface{}) []byte
- func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func ProductCreate(w http.ResponseWriter, r *http.Request, _ httprouter.Param)
- func ProductDetail(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func Search(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func SearchChromeExtension(w http.ResponseWriter, r *http.Request, key httprouter.Params)
- func SearchSuggestions(w http.ResponseWriter, r *http.Request, key httprouter.Params)
- func ShopCreate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func ShopDetail(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func ShopTags(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- type ResponseStruct
- type Shop
- type Tag
- type Trend
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTag ¶
func AddTag(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func FormResponse ¶
func Index ¶
func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func ProductCreate ¶
func ProductCreate(w http.ResponseWriter, r *http.Request, _ httprouter.Param)
func ProductDetail ¶
func ProductDetail(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func Search ¶
func Search(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
http://localhost:3006/search?tagId=3&latitude=12.969&longitude=80.24865
func SearchChromeExtension ¶
func SearchChromeExtension(w http.ResponseWriter, r *http.Request, key httprouter.Params)
http://localhost:3006/search_chrome_extension?search_text=Tea&latitude=12.969&longitude=80.24865
func SearchSuggestions ¶
func SearchSuggestions(w http.ResponseWriter, r *http.Request, key httprouter.Params)
func ShopCreate ¶
func ShopCreate(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func ShopDetail ¶
func ShopDetail(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func ShopTags ¶
func ShopTags(w http.ResponseWriter, r *http.Request, ps httprouter.Params)