Documentation ¶
Index ¶
- Variables
- type SearchResultsClient
- func (sc *SearchResultsClient) GetChannel(scope string) (chan l9format.L9Event, error)
- func (sc *SearchResultsClient) GetEndpoint() string
- func (sc *SearchResultsClient) GetSearchResults(scope string, query string, page int) ([]l9format.L9Event, error)
- func (sc *SearchResultsClient) Next() bool
- func (sc *SearchResultsClient) SearchResult() l9format.L9Event
Constants ¶
This section is empty.
Variables ¶
View Source
var HttpClient = &http.Client{ Transport: LeakIXHttpTranport, Timeout: 5 * time.Second, }
View Source
var LeakIXHttpTranport = &http.Transport{ DialContext: LeakIXProxy.DialContext, ResponseHeaderTimeout: 5 * time.Second, ExpectContinueTimeout: 5 * time.Second, }
View Source
var LeakIXProxy = &l9format.ServicePluginBase{}
Functions ¶
This section is empty.
Types ¶
type SearchResultsClient ¶
type SearchResultsClient struct { Scope string Query string SearchResults []l9format.L9Event Position int Page int ApiKey string Endpoint string LastError error }
func (*SearchResultsClient) GetChannel ¶
func (sc *SearchResultsClient) GetChannel(scope string) (chan l9format.L9Event, error)
func (*SearchResultsClient) GetEndpoint ¶
func (sc *SearchResultsClient) GetEndpoint() string
func (*SearchResultsClient) GetSearchResults ¶
func (*SearchResultsClient) Next ¶
func (sc *SearchResultsClient) Next() bool
func (*SearchResultsClient) SearchResult ¶
func (sc *SearchResultsClient) SearchResult() l9format.L9Event
Click to show internal directories.
Click to hide internal directories.