Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllAppSessionField = []AppSessionField{ AppSessionFieldCountry, AppSessionFieldCity, AppSessionFieldRegion, AppSessionFieldReferrerSource, AppSessionFieldUtmCampaign, AppSessionFieldUtmContent, AppSessionFieldUtmMedium, AppSessionFieldUtmSource, AppSessionFieldUtmNetwork, AppSessionFieldUtmTerm, AppSessionFieldDeviceName, AppSessionFieldDeviceBrand, AppSessionFieldDeviceClass, AppSessionFieldAgentName, AppSessionFieldAgentVersion, AppSessionFieldOperatingSystem, AppSessionFieldOsVersionMajor, AppSessionFieldOsVersionMinor, AppSessionFieldFirstPage, AppSessionFieldLastPage, }
View Source
var AllOperation = []Operation{ OperationEquals, OperationContains, }
Functions ¶
This section is empty.
Types ¶
type AppSession ¶
type AppSession struct { ID string `json:"id"` Country string `json:"country"` Region string `json:"region"` City string `json:"city"` ReferrerSource string `json:"referrerSource"` UtmCampaign string `json:"utmCampaign"` UtmContent string `json:"utmContent"` UtmMedium string `json:"utmMedium"` UtmSource string `json:"utmSource"` UtmNetwork string `json:"utmNetwork"` UtmTerm string `json:"utmTerm"` DeviceName string `json:"deviceName"` DeviceBrand string `json:"deviceBrand"` DeviceClass string `json:"deviceClass"` AgentName string `json:"agentName"` AgentVersion string `json:"agentVersion"` OperatingSystem string `json:"operatingSystem"` OsVersionMajor string `json:"osVersionMajor"` OsVersionMinor string `json:"osVersionMinor"` FirstPagePath string `json:"firstPagePath"` LastPagePath string `json:"lastPagePath"` StartedAt time.Time `json:"startedAt"` EndedAt time.Time `json:"endedAt"` EngagedTime int `json:"engagedTime"` PageViews []*PageView `json:"pageViews"` }
type AppSessionField ¶
type AppSessionField string
const ( AppSessionFieldCountry AppSessionField = "COUNTRY" AppSessionFieldCity AppSessionField = "CITY" AppSessionFieldRegion AppSessionField = "REGION" AppSessionFieldReferrerSource AppSessionField = "REFERRER_SOURCE" AppSessionFieldUtmCampaign AppSessionField = "UTM_CAMPAIGN" AppSessionFieldUtmContent AppSessionField = "UTM_CONTENT" AppSessionFieldUtmMedium AppSessionField = "UTM_MEDIUM" AppSessionFieldUtmSource AppSessionField = "UTM_SOURCE" AppSessionFieldUtmNetwork AppSessionField = "UTM_NETWORK" AppSessionFieldUtmTerm AppSessionField = "UTM_TERM" AppSessionFieldDeviceName AppSessionField = "DEVICE_NAME" AppSessionFieldDeviceBrand AppSessionField = "DEVICE_BRAND" AppSessionFieldDeviceClass AppSessionField = "DEVICE_CLASS" AppSessionFieldAgentName AppSessionField = "AGENT_NAME" AppSessionFieldAgentVersion AppSessionField = "AGENT_VERSION" AppSessionFieldOperatingSystem AppSessionField = "OPERATING_SYSTEM" AppSessionFieldOsVersionMajor AppSessionField = "OS_VERSION_MAJOR" AppSessionFieldOsVersionMinor AppSessionField = "OS_VERSION_MINOR" AppSessionFieldFirstPage AppSessionField = "FIRST_PAGE" AppSessionFieldLastPage AppSessionField = "LAST_PAGE" )
func (*AppSessionField) GetColumnName ¶
func (f *AppSessionField) GetColumnName() string
func (AppSessionField) IsValid ¶
func (e AppSessionField) IsValid() bool
func (AppSessionField) MarshalGQL ¶
func (e AppSessionField) MarshalGQL(w io.Writer)
func (AppSessionField) String ¶
func (e AppSessionField) String() string
func (*AppSessionField) UnmarshalGQL ¶
func (e *AppSessionField) UnmarshalGQL(v interface{}) error
type AppSessionsDataFilter ¶
type AppSessionsDataFilter struct { Field AppSessionField `json:"Field"` Action Operation `json:"Action"` Value string `json:"Value"` }
type AppSessionsPage ¶
type AppSessionsPage struct { Content []*AppSession `json:"content"` TotalPages int `json:"totalPages"` TotalElements int64 `json:"totalElements"` }
func (AppSessionsPage) GetTotalElements ¶
func (this AppSessionsPage) GetTotalElements() int64
func (AppSessionsPage) GetTotalPages ¶
func (this AppSessionsPage) GetTotalPages() int
func (AppSessionsPage) IsPagedResult ¶
func (AppSessionsPage) IsPagedResult()
type Application ¶
type Operation ¶
type Operation string
func (Operation) MarshalGQL ¶
func (*Operation) UnmarshalGQL ¶
type PagedResult ¶
type Pagination ¶
func (*Pagination) GetLimit ¶
func (p *Pagination) GetLimit() int
func (*Pagination) GetPage ¶
func (p *Pagination) GetPage() int
type TimeFilter ¶
type TimeFilter struct { TimePeriod TimePeriod `json:"timePeriod"` From *time.Time `json:"from,omitempty"` To *time.Time `json:"to,omitempty"` }
type TimePeriod ¶
type TimePeriod string
const ( TimePeriodToday TimePeriod = "TODAY" TimePeriodLastHour TimePeriod = "LAST_HOUR" TimePeriodLast24Hours TimePeriod = "LAST_24_HOURS" TimePeriodLast7Days TimePeriod = "LAST_7_DAYS" TimePeriodLast30Days TimePeriod = "LAST_30_DAYS" TimePeriodMonthToDate TimePeriod = "MONTH_TO_DATE" TimePeriodYearToDate TimePeriod = "YEAR_TO_DATE" TimePeriodDaily TimePeriod = "DAILY" TimePeriodMonthly TimePeriod = "MONTHLY" TimePeriodAllTime TimePeriod = "ALL_TIME" TimePeriodCustom TimePeriod = "CUSTOM" )
func (TimePeriod) IsValid ¶
func (e TimePeriod) IsValid() bool
func (TimePeriod) MarshalGQL ¶
func (e TimePeriod) MarshalGQL(w io.Writer)
func (TimePeriod) String ¶
func (e TimePeriod) String() string
func (*TimePeriod) UnmarshalGQL ¶
func (e *TimePeriod) UnmarshalGQL(v interface{}) error
Click to show internal directories.
Click to hide internal directories.