Versions in this module Expand all Collapse all v1 v1.2.1 Nov 30, 2018 v1.2.0 Nov 20, 2018 Changes in this version + type PageStats struct + AvgDuration float64 + BounceRate float64 + Date time.Time + Entries int64 + Hostname string + HostnameID int64 + KnownDurations int64 + New bool + Pageviews int64 + Pathname string + PathnameID int64 + SiteID int64 + Visitors int64 + func (s *PageStats) HandlePageview(p *Pageview) + type Pageview struct + Duration int64 + Hostname string + ID string + IsBounce bool + IsFinished bool + IsNewSession bool + IsNewVisitor bool + IsUnique bool + Pathname string + Referrer string + SiteTrackingID string + Timestamp time.Time + type ReferrerStats struct + AvgDuration float64 + BounceRate float64 + Date time.Time + Group string + Hostname string + HostnameID int64 + KnownDurations int64 + New bool + Pageviews int64 + Pathname string + PathnameID int64 + SiteID int64 + Visitors int64 + func (s *ReferrerStats) HandlePageview(p *Pageview) + type Site struct + ID int64 + Name string + TrackingID string + type SiteStats struct + AvgDuration float64 + BounceRate float64 + Date time.Time + KnownDurations int64 + New bool + Pageviews int64 + Sessions int64 + SiteID int64 + Visitors int64 + func (s *SiteStats) FormattedDuration() string + func (s *SiteStats) HandlePageview(p *Pageview) + type User struct + Email string + ID int64 + Password string + func NewUser(e string, pwd string) User + func (u *User) ComparePassword(pwd string) error + func (u *User) SetPassword(pwd string)