Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MyClient = &http.Client{ Timeout: time.Second * 10, Jar: cJar, }
Functions ¶
This section is empty.
Types ¶
type AhrefsServiceInterface ¶
type AhrefsServiceInterface interface {
GetMetricsData() (metrics_data *MetricsData, err error)
}
type AhrefsServiceStruct ¶
type AhrefsServiceStruct struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(email, password, project string) *AhrefsServiceStruct
func (*AhrefsServiceStruct) GetMetricsData ¶
func (a *AhrefsServiceStruct) GetMetricsData() (metrics_data *MetricsData, err error)
type Country ¶
type Country struct { Formated interface{} `json:"formated"` Delta interface{} `json:"delta"` }
type MetricsData ¶
type MetricsData struct { OrganicKeywords `json:"organic_keywords"` MovementRanges []int `json:"movementRanges"` CurrentRanges []int `json:"currentRanges"` Keywords_tracked int `json:"keywords_tracked"` MovementTotal `json:"movementTotal"` }
type MovementTotal ¶
Click to show internal directories.
Click to hide internal directories.