Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheStats ¶
type CacheStats struct { Hits int RefreshHits int Misses int LimitExceeded int CapacityExceeded int Errors int Redirects int Total int Others int }
func (*CacheStats) Add ¶
func (c *CacheStats) Add(i *CacheStats)
type ResourceTypes ¶
func (*ResourceTypes) Add ¶
func (r *ResourceTypes) Add(a *ResourceTypes)
type Session ¶
type Session struct { Begin *time.Time End *time.Time IP *net.IP UserAgent *string Crawler bool DataPoints []objects.DataPoint }
func SplitSessionsByMaxInactiveTime ¶
Split a session to multiple sessions based on a given maximum inactive time
func (*Session) CacheStats ¶
func (s *Session) CacheStats() *CacheStats
func (*Session) DataByResourceFormat ¶
func (s *Session) DataByResourceFormat(ignoreErrors bool) *ResourceTypes
type Sessions ¶
type Sessions []Session
func (*Sessions) AddDataPoint ¶
func (*Sessions) BounceRate ¶
func (*Sessions) SplitSessions ¶
Click to show internal directories.
Click to hide internal directories.