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)
- func YourChartCreateHandler(w http.ResponseWriter, req *http.Request)
- func YourChartFetchHandler(w http.ResponseWriter, req *http.Request)
- func YourchartAuthorize(apiKey string, jobId string, upstreamJobId string, upstreamLabJobId string) error
- func YourchartAuthorized(apiKey string, jobId string) (string, string, error)
- func YourchartEnabled(apiKey string) (bool, error)
- 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)
func YourChartCreateHandler ¶ added in v0.2.3
func YourChartCreateHandler(w http.ResponseWriter, req *http.Request)
func YourChartFetchHandler ¶ added in v0.2.3
func YourChartFetchHandler(w http.ResponseWriter, req *http.Request)
func YourchartAuthorize ¶ added in v0.2.3
func YourchartAuthorized ¶ added in v0.2.3
func YourchartEnabled ¶ added in v0.2.3
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 ¶
type SearchParams struct { Offset uint64 Limit uint64 Sort string Order string // contains filtered or unexported fields }
func ParseSearchParams ¶
func ParseSearchParams(params map[string][]string) (*SearchParams, error)
Click to show internal directories.
Click to hide internal directories.