mirror of https://github.com/status-im/fathom.git
20 lines
512 B
Go
20 lines
512 B
Go
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Pageview struct {
|
|
ID int64 `db:"id"`
|
|
SessionID string `db:"session_id"`
|
|
Hostname string `db:"hostname"`
|
|
Pathname string `db:"pathname"`
|
|
IsNewVisitor bool `db:"is_new_visitor"`
|
|
IsNewSession bool `db:"is_new_session"`
|
|
IsUnique bool `db:"is_unique"`
|
|
IsBounce bool `db:"is_bounce"`
|
|
Referrer string `db:"referrer"`
|
|
Duration int64 `db:"duration"`
|
|
Timestamp time.Time `db:"timestamp"`
|
|
}
|