models

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Field_name = map[uint8]string{
		0:  "unknown",
		1:  "timestamp",
		2:  "id",
		3:  "bounce",
		4:  "session",
		5:  "view",
		6:  "duration",
		7:  "city",
		8:  "browser",
		9:  "browser_version",
		10: "country",
		11: "device",
		12: "domain",
		13: "entry_page",
		14: "event",
		15: "exit_page",
		16: "host",
		17: "os",
		18: "os_version",
		19: "page",
		20: "referrer",
		21: "source",
		22: "utm_campaign",
		23: "utm_content",
		24: "utm_medium",
		25: "utm_source",
		26: "utm_term",
		27: "subdivision1_code",
		28: "subdivision2_code",
	}
	Field_value = map[string]uint8{
		"unknown":           0,
		"timestamp":         1,
		"id":                2,
		"bounce":            3,
		"session":           4,
		"view":              5,
		"duration":          6,
		"city":              7,
		"browser":           8,
		"browser_version":   9,
		"country":           10,
		"device":            11,
		"domain":            12,
		"entry_page":        13,
		"event":             14,
		"exit_page":         15,
		"host":              16,
		"os":                17,
		"os_version":        18,
		"page":              19,
		"referrer":          20,
		"source":            21,
		"utm_campaign":      22,
		"utm_content":       23,
		"utm_medium":        24,
		"utm_source":        25,
		"utm_term":          26,
		"subdivision1_code": 27,
		"subdivision2_code": 28,
	}
)

Enum value maps for Field.

Functions

This section is empty.

Types

type Field added in v1.4.1

type Field uint8
const (
	Field_unknown           Field = 0
	Field_timestamp         Field = 1
	Field_id                Field = 2
	Field_bounce            Field = 3
	Field_session           Field = 4
	Field_view              Field = 5
	Field_duration          Field = 6
	Field_city              Field = 7
	Field_browser           Field = 8
	Field_browser_version   Field = 9
	Field_country           Field = 10
	Field_device            Field = 11
	Field_domain            Field = 12
	Field_entry_page        Field = 13
	Field_event             Field = 14
	Field_exit_page         Field = 15
	Field_host              Field = 16
	Field_os                Field = 17
	Field_os_version        Field = 18
	Field_page              Field = 19
	Field_referrer          Field = 20
	Field_source            Field = 21
	Field_utm_campaign      Field = 22
	Field_utm_content       Field = 23
	Field_utm_medium        Field = 24
	Field_utm_source        Field = 25
	Field_utm_term          Field = 26
	Field_subdivision1_code Field = 27
	Field_subdivision2_code Field = 28
)

func TextIndex added in v1.4.1

func TextIndex(i int) Field

func (Field) String added in v1.4.1

func (f Field) String() string

func (Field) TextIndex added in v1.4.1

func (f Field) TextIndex() byte

type Model added in v1.3.0

type Model struct {
	ExitPage         []byte
	UtmTerm          []byte
	EntryPage        []byte
	Subdivision1Code []byte
	Event            []byte
	UtmSource        []byte
	UtmMedium        []byte
	Browser          []byte
	BrowserVersion   []byte
	Country          []byte
	Device           []byte
	Domain           []byte
	Subdivision2Code []byte
	UtmContent       []byte
	Page             []byte
	Host             []byte
	Os               []byte
	OsVersion        []byte
	UtmCampaign      []byte
	Referrer         []byte
	Source           []byte
	Timestamp        int64
	Duration         int64
	Id               uint64
	City             uint32
	Bounce           int8
	View             bool
	Session          bool
}

Jump to

Keyboard shortcuts

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