Documentation ¶
Index ¶
- Variables
- func NewID() uuid.UUID
- type Domain
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetBrowser() string
- func (x *Event) GetBrowserVersion() string
- func (x *Event) GetCountryCode() string
- func (x *Event) GetDomain() string
- func (x *Event) GetHostname() string
- func (x *Event) GetMeta() map[string]string
- func (x *Event) GetName() string
- func (x *Event) GetOperatingSystem() string
- func (x *Event) GetOperatingSystemVersion() string
- func (x *Event) GetPathname() string
- func (x *Event) GetReferrer() string
- func (x *Event) GetReferrerSource() string
- func (x *Event) GetScreenSize() string
- func (x *Event) GetSessionId() uint64
- func (x *Event) GetTimestamp() *timestamp.Timestamp
- func (x *Event) GetUserId() uint64
- func (x *Event) GetUtmCampaign() string
- func (x *Event) GetUtmMedium() string
- func (x *Event) GetUtmSource() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventPayload
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetBrowser() string
- func (x *Session) GetBrowserVersion() string
- func (x *Session) GetCountryCode() string
- func (x *Session) GetDomain() string
- func (x *Session) GetDuration() *duration.Duration
- func (x *Session) GetEntryPage() string
- func (x *Session) GetEvents() int32
- func (x *Session) GetExitPage() string
- func (x *Session) GetHostname() string
- func (x *Session) GetId() uint64
- func (x *Session) GetIsBounce() bool
- func (x *Session) GetOperatingSystem() string
- func (x *Session) GetOperatingSystemVersion() string
- func (x *Session) GetPageViews() int32
- func (x *Session) GetReferrer() string
- func (x *Session) GetReferrerSource() string
- func (x *Session) GetScreenSize() string
- func (x *Session) GetSign() int32
- func (x *Session) GetStart() *timestamp.Timestamp
- func (x *Session) GetTimestamp() *timestamp.Timestamp
- func (x *Session) GetUtmCampaign() string
- func (x *Session) GetUtmMedium() string
- func (x *Session) GetUtmSource() string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type Site
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetDomains() []*Domain
- func (x *User) GetEmail() string
- func (x *User) GetId() []byte
- func (x *User) GetPassword() []byte
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserData
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pkg_models_models_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type Domain ¶
type Domain struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Domain) Descriptor
deprecated
func (*Domain) ProtoMessage ¶
func (*Domain) ProtoMessage()
func (*Domain) ProtoReflect ¶
func (x *Domain) ProtoReflect() protoreflect.Message
type Event ¶
type Event struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` Pathname string `protobuf:"bytes,4,opt,name=pathname,proto3" json:"pathname,omitempty"` Meta map[string]string `` /* 149-byte string literal not displayed */ UserId uint64 `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Referrer string `protobuf:"bytes,7,opt,name=referrer,proto3" json:"referrer,omitempty"` ReferrerSource string `protobuf:"bytes,8,opt,name=referrer_source,json=referrerSource,proto3" json:"referrer_source,omitempty"` UtmMedium string `protobuf:"bytes,9,opt,name=utm_medium,json=utmMedium,proto3" json:"utm_medium,omitempty"` UtmSource string `protobuf:"bytes,10,opt,name=utm_source,json=utmSource,proto3" json:"utm_source,omitempty"` UtmCampaign string `protobuf:"bytes,11,opt,name=utm_campaign,json=utmCampaign,proto3" json:"utm_campaign,omitempty"` CountryCode string `protobuf:"bytes,12,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` ScreenSize string `protobuf:"bytes,13,opt,name=screen_size,json=screenSize,proto3" json:"screen_size,omitempty"` OperatingSystem string `protobuf:"bytes,14,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"` OperatingSystemVersion string `` /* 130-byte string literal not displayed */ Browser string `protobuf:"bytes,16,opt,name=browser,proto3" json:"browser,omitempty"` BrowserVersion string `protobuf:"bytes,17,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,18,opt,name=timestamp,proto3" json:"timestamp,omitempty"` SessionId uint64 `protobuf:"varint,19,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetBrowser ¶
func (*Event) GetBrowserVersion ¶
func (*Event) GetCountryCode ¶
func (*Event) GetHostname ¶
func (*Event) GetOperatingSystem ¶
func (*Event) GetOperatingSystemVersion ¶
func (*Event) GetPathname ¶
func (*Event) GetReferrer ¶
func (*Event) GetReferrerSource ¶
func (*Event) GetScreenSize ¶
func (*Event) GetSessionId ¶
func (*Event) GetTimestamp ¶
func (*Event) GetUtmCampaign ¶
func (*Event) GetUtmMedium ¶
func (*Event) GetUtmSource ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventPayload ¶
type Session ¶
type Session struct { Sign int32 `protobuf:"varint,1,opt,name=sign,proto3" json:"sign,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` IsBounce bool `protobuf:"varint,4,opt,name=is_bounce,json=isBounce,proto3" json:"is_bounce,omitempty"` EntryPage string `protobuf:"bytes,5,opt,name=entry_page,json=entryPage,proto3" json:"entry_page,omitempty"` ExitPage string `protobuf:"bytes,6,opt,name=exit_page,json=exitPage,proto3" json:"exit_page,omitempty"` PageViews int32 `protobuf:"varint,7,opt,name=page_views,json=pageViews,proto3" json:"page_views,omitempty"` Events int32 `protobuf:"varint,8,opt,name=events,proto3" json:"events,omitempty"` Duration *duration.Duration `protobuf:"bytes,9,opt,name=duration,proto3" json:"duration,omitempty"` Referrer string `protobuf:"bytes,10,opt,name=referrer,proto3" json:"referrer,omitempty"` ReferrerSource string `protobuf:"bytes,11,opt,name=referrer_source,json=referrerSource,proto3" json:"referrer_source,omitempty"` UtmMedium string `protobuf:"bytes,12,opt,name=utm_medium,json=utmMedium,proto3" json:"utm_medium,omitempty"` UtmSource string `protobuf:"bytes,13,opt,name=utm_source,json=utmSource,proto3" json:"utm_source,omitempty"` UtmCampaign string `protobuf:"bytes,14,opt,name=utm_campaign,json=utmCampaign,proto3" json:"utm_campaign,omitempty"` CountryCode string `protobuf:"bytes,15,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` ScreenSize string `protobuf:"bytes,16,opt,name=screen_size,json=screenSize,proto3" json:"screen_size,omitempty"` OperatingSystem string `protobuf:"bytes,17,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"` OperatingSystemVersion string `` /* 130-byte string literal not displayed */ Browser string `protobuf:"bytes,19,opt,name=browser,proto3" json:"browser,omitempty"` BrowserVersion string `protobuf:"bytes,20,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` Start *timestamp.Timestamp `protobuf:"bytes,21,opt,name=start,proto3" json:"start,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,22,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Id uint64 `protobuf:"varint,23,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Session) Descriptor
deprecated
func (*Session) GetBrowser ¶
func (*Session) GetBrowserVersion ¶
func (*Session) GetCountryCode ¶
func (*Session) GetDuration ¶
func (*Session) GetEntryPage ¶
func (*Session) GetExitPage ¶
func (*Session) GetHostname ¶
func (*Session) GetIsBounce ¶
func (*Session) GetOperatingSystem ¶
func (*Session) GetOperatingSystemVersion ¶
func (*Session) GetPageViews ¶
func (*Session) GetReferrer ¶
func (*Session) GetReferrerSource ¶
func (*Session) GetScreenSize ¶
func (*Session) GetTimestamp ¶
func (*Session) GetUtmCampaign ¶
func (*Session) GetUtmMedium ¶
func (*Session) GetUtmSource ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type Site ¶
type Site struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*Site) Descriptor
deprecated
func (*Site) ProtoMessage ¶
func (*Site) ProtoMessage()
func (*Site) ProtoReflect ¶
func (x *Site) ProtoReflect() protoreflect.Message
type User ¶
type User struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Password []byte `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` Domains []*Domain `protobuf:"bytes,5,rep,name=domains,proto3" json:"domains,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetDomains ¶
func (*User) GetPassword ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.