Documentation ¶
Index ¶
- func ItemHandler(w http.ResponseWriter, req *http.Request)
- func Search(sourceType string, params *SearchParams, r *http.Request) (map[string]interface{}, error)
- func SearchSourceHandler(w http.ResponseWriter, req *http.Request)
- func SourcesHandler(w http.ResponseWriter, req *http.Request)
- type SearchParamSet
- type SearchParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ItemHandler ¶
func ItemHandler(w http.ResponseWriter, req *http.Request)
func SearchSourceHandler ¶
func SearchSourceHandler(w http.ResponseWriter, req *http.Request)
func SourcesHandler ¶
func SourcesHandler(w http.ResponseWriter, req *http.Request)
Types ¶
type SearchParamSet ¶
func (*SearchParamSet) SetKey ¶
func (p *SearchParamSet) SetKey(key string)
func (*SearchParamSet) SetOp ¶
func (p *SearchParamSet) SetOp(op string)
func (*SearchParamSet) SetValues ¶
func (p *SearchParamSet) SetValues(values []string)
type SearchParams ¶
func ParseSearchParams ¶
func ParseSearchParams(params map[string][]string) (*SearchParams, error)
Click to show internal directories.
Click to hide internal directories.