performance_platform

package
v0.0.0-...-87cc4db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageViewsForDate

type PageViewsForDate struct {
	Timestamp time.Time `json:"_start_at"`
	PageViews float32   `json:"uniquePageviews:sum"`
}

type ProblemReportsForDate

type ProblemReportsForDate struct {
	Timestamp      time.Time `json:"_start_at"`
	ProblemReports float32   `json:"total:sum"`
}

type SearchTerm

type SearchTerm struct {
	Keyword       string
	TotalSearches int
	Searches      []Statistic
}

type SearchTerms

type SearchTerms []SearchTerm

func (SearchTerms) Len

func (terms SearchTerms) Len() int

func (SearchTerms) Less

func (terms SearchTerms) Less(i, j int) bool

func (SearchTerms) Swap

func (terms SearchTerms) Swap(i, j int)

type SearchUniquesForDate

type SearchUniquesForDate struct {
	Timestamp     time.Time `json:"_start_at"`
	SearchUniques float32   `json:"searchUniques:sum"`
}

type Statistic

type Statistic struct {
	Path      string    `json:"path"`
	Timestamp time.Time `json:"timestamp"`
	Value     int       `json:"value"`
}

type Statistics

type Statistics struct {
	PageViews      []Statistic `json:"page_views"`
	Searches       []Statistic `json:"searches"`
	ProblemReports []Statistic `json:"problem_reports"`
	SearchTerms    SearchTerms `json:"search_terms"`
}

func SlugStatistics

func SlugStatistics(client performanceclient.DataClient, slug string, is_multipart bool) (*Statistics, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL