Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Amasser ¶
type Amasser struct { TotalMaxConcurrentRequests int AllowedErrorProportion float64 verbose.Verbose }
func AmasserForTests ¶
func AmasserForTests() *Amasser
func (*Amasser) GetAll ¶
func (a *Amasser) GetAll(reqs []*GetRequest) ([]*GetResponse, error)
type GetRequest ¶
type GetRequest struct { Site string RequestKey string MinVersion int URL string SiteMaxConcurrentRequests int Attribution attributions.Attribution RoundTripData []byte }
func (*GetRequest) Get ¶
func (r *GetRequest) Get() (*GetResponse, error)
func (*GetRequest) SetRoundTripData ¶
func (r *GetRequest) SetRoundTripData(i interface{})
type GetResponse ¶
type GetResponse struct { Site string RequestKey string Version int URL string ResponseBody string StatusCode int Status string Attribution attributions.Attribution RoundTripData []byte }
func (*GetResponse) AsDocument ¶
func (h *GetResponse) AsDocument() *goquery.Document
func (*GetResponse) AsXMLObject ¶
func (h *GetResponse) AsXMLObject(i interface{}) error
func (*GetResponse) GetRoundTripData ¶
func (r *GetResponse) GetRoundTripData(i interface{})
Source Files ¶
Click to show internal directories.
Click to hide internal directories.