Documentation ¶
Index ¶
- Variables
- type APIKey
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)deprecated
- func (x *Agent) GetBot() bool
- func (x *Agent) GetBrowser() string
- func (x *Agent) GetBrowserVersion() string
- func (x *Agent) GetDevice() string
- func (x *Agent) GetOs() string
- func (x *Agent) GetOsVersion() string
- func (*Agent) ProtoMessage()
- func (x *Agent) ProtoReflect() protoreflect.Message
- func (x *Agent) Reset()
- func (x *Agent) String() string
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetAcme() bool
- func (x *Config) GetAcmeDomain() string
- func (x *Config) GetAcmeEmail() string
- func (x *Config) GetAdmin() *User
- func (x *Config) GetDataPath() string
- func (x *Config) GetDomains() []string
- func (x *Config) GetLicense() string
- func (x *Config) GetListen() string
- func (x *Config) GetProfile() bool
- func (x *Config) GetUrl() string
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Field
- type License
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetCity() []byte
- func (x *Location) GetCityCode() []byte
- func (x *Location) GetNames() []string
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type Model
- func (*Model) Descriptor() ([]byte, []int)deprecated
- func (x *Model) GetBounce() int32
- func (x *Model) GetBrowser() string
- func (x *Model) GetBrowserVersion() string
- func (x *Model) GetCity() uint32
- func (x *Model) GetCountry() string
- func (x *Model) GetDevice() string
- func (x *Model) GetDomain() string
- func (x *Model) GetDuration() int64
- func (x *Model) GetEntryPage() string
- func (x *Model) GetEvent() string
- func (x *Model) GetExitPage() string
- func (x *Model) GetHost() string
- func (x *Model) GetId() uint64
- func (x *Model) GetOs() string
- func (x *Model) GetOsVersion() string
- func (x *Model) GetPage() string
- func (x *Model) GetReferrer() string
- func (x *Model) GetSession() bool
- func (x *Model) GetSource() string
- func (x *Model) GetSubdivision1Code() string
- func (x *Model) GetSubdivision2Code() string
- func (x *Model) GetTimestamp() int64
- func (x *Model) GetUtmCampaign() string
- func (x *Model) GetUtmContent() string
- func (x *Model) GetUtmMedium() string
- func (x *Model) GetUtmSource() string
- func (x *Model) GetUtmTerm() string
- func (x *Model) GetView() bool
- func (*Model) ProtoMessage()
- func (x *Model) ProtoReflect() protoreflect.Message
- func (x *Model) Reset()
- func (x *Model) String() string
- type Share
- type Site
- func (*Site) Descriptor() ([]byte, []int)deprecated
- func (x *Site) GetDomain() string
- func (x *Site) GetId() []byte
- func (x *Site) GetLocked() bool
- func (x *Site) GetPublic() bool
- func (x *Site) GetShares() []*Share
- func (*Site) ProtoMessage()
- func (x *Site) ProtoReflect() protoreflect.Message
- func (x *Site) Reset()
- func (x *Site) String() string
- type System
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Field_name = map[int32]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]int32{ "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.
View Source
var File_vince_v1_config_proto protoreflect.FileDescriptor
View Source
var File_vince_v1_license_proto protoreflect.FileDescriptor
View Source
var File_vince_v1_util_proto protoreflect.FileDescriptor
View Source
var File_vince_v1_vince_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type APIKey ¶ added in v1.1.0
type APIKey struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*APIKey) Descriptor
deprecated
added in
v1.1.0
func (*APIKey) ProtoMessage ¶ added in v1.1.0
func (*APIKey) ProtoMessage()
func (*APIKey) ProtoReflect ¶ added in v1.1.0
func (x *APIKey) ProtoReflect() protoreflect.Message
type Agent ¶ added in v1.0.0
type Agent struct { Bot bool `protobuf:"varint,1,opt,name=bot,proto3" json:"bot,omitempty"` Browser string `protobuf:"bytes,2,opt,name=browser,proto3" json:"browser,omitempty"` BrowserVersion string `protobuf:"bytes,3,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` OsVersion string `protobuf:"bytes,5,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` Device string `protobuf:"bytes,6,opt,name=device,proto3" json:"device,omitempty"` // contains filtered or unexported fields }
func (*Agent) Descriptor
deprecated
added in
v1.0.0
func (*Agent) GetBrowser ¶ added in v1.0.0
func (*Agent) GetBrowserVersion ¶ added in v1.0.0
func (*Agent) GetOsVersion ¶ added in v1.0.0
func (*Agent) ProtoMessage ¶ added in v1.0.0
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect ¶ added in v1.0.0
func (x *Agent) ProtoReflect() protoreflect.Message
type Config ¶
type Config struct { Listen string `protobuf:"bytes,1,opt,name=listen,proto3" json:"listen,omitempty"` DataPath string `protobuf:"bytes,2,opt,name=data_path,json=dataPath,proto3" json:"data_path,omitempty"` Acme bool `protobuf:"varint,3,opt,name=acme,proto3" json:"acme,omitempty"` AcmeEmail string `protobuf:"bytes,4,opt,name=acme_email,json=acmeEmail,proto3" json:"acme_email,omitempty"` AcmeDomain string `protobuf:"bytes,5,opt,name=acme_domain,json=acmeDomain,proto3" json:"acme_domain,omitempty"` Admin *User `protobuf:"bytes,6,opt,name=admin,proto3" json:"admin,omitempty"` License string `protobuf:"bytes,7,opt,name=license,proto3" json:"license,omitempty"` Url string `protobuf:"bytes,8,opt,name=url,proto3" json:"url,omitempty"` Domains []string `protobuf:"bytes,9,rep,name=domains,proto3" json:"domains,omitempty"` Profile bool `protobuf:"varint,10,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetAcmeDomain ¶ added in v1.0.0
func (*Config) GetAcmeEmail ¶ added in v1.0.0
func (*Config) GetDataPath ¶ added in v1.0.0
func (*Config) GetDomains ¶ added in v1.0.0
func (*Config) GetLicense ¶ added in v1.0.0
func (*Config) GetProfile ¶ added in v1.1.0
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Field ¶ added in v1.0.0
type Field int32
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 (Field) Descriptor ¶ added in v1.0.0
func (Field) Descriptor() protoreflect.EnumDescriptor
func (Field) EnumDescriptor
deprecated
added in
v1.0.0
func (Field) Number ¶ added in v1.0.0
func (x Field) Number() protoreflect.EnumNumber
func (Field) Type ¶ added in v1.0.0
func (Field) Type() protoreflect.EnumType
type License ¶ added in v1.0.0
type License struct { Expiry uint64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*License) Descriptor
deprecated
added in
v1.0.0
func (*License) ProtoMessage ¶ added in v1.0.0
func (*License) ProtoMessage()
func (*License) ProtoReflect ¶ added in v1.0.0
func (x *License) ProtoReflect() protoreflect.Message
type Location ¶ added in v1.0.0
type Location struct { Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` City []byte `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"` CityCode []byte `protobuf:"bytes,3,opt,name=city_code,json=cityCode,proto3" json:"city_code,omitempty"` // contains filtered or unexported fields }
func (*Location) Descriptor
deprecated
added in
v1.0.0
func (*Location) GetCityCode ¶ added in v1.0.0
func (*Location) ProtoMessage ¶ added in v1.0.0
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶ added in v1.0.0
func (x *Location) ProtoReflect() protoreflect.Message
type Model ¶ added in v1.0.0
type Model struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Bounce int32 `protobuf:"varint,3,opt,name=bounce,proto3" json:"bounce,omitempty"` Session bool `protobuf:"varint,4,opt,name=session,proto3" json:"session,omitempty"` View bool `protobuf:"varint,5,opt,name=view,proto3" json:"view,omitempty"` Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` City uint32 `protobuf:"varint,7,opt,name=city,proto3" json:"city,omitempty"` Browser string `protobuf:"bytes,8,opt,name=browser,proto3" json:"browser,omitempty"` BrowserVersion string `protobuf:"bytes,9,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` Country string `protobuf:"bytes,10,opt,name=country,proto3" json:"country,omitempty"` Device string `protobuf:"bytes,11,opt,name=device,proto3" json:"device,omitempty"` Domain string `protobuf:"bytes,12,opt,name=domain,proto3" json:"domain,omitempty"` EntryPage string `protobuf:"bytes,13,opt,name=entry_page,json=entryPage,proto3" json:"entry_page,omitempty"` Event string `protobuf:"bytes,14,opt,name=event,proto3" json:"event,omitempty"` ExitPage string `protobuf:"bytes,15,opt,name=exit_page,json=exitPage,proto3" json:"exit_page,omitempty"` Host string `protobuf:"bytes,16,opt,name=host,proto3" json:"host,omitempty"` Os string `protobuf:"bytes,17,opt,name=os,proto3" json:"os,omitempty"` OsVersion string `protobuf:"bytes,18,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` Page string `protobuf:"bytes,19,opt,name=page,proto3" json:"page,omitempty"` Referrer string `protobuf:"bytes,20,opt,name=referrer,proto3" json:"referrer,omitempty"` Source string `protobuf:"bytes,21,opt,name=source,proto3" json:"source,omitempty"` UtmCampaign string `protobuf:"bytes,22,opt,name=utm_campaign,json=utmCampaign,proto3" json:"utm_campaign,omitempty"` UtmContent string `protobuf:"bytes,23,opt,name=utm_content,json=utmContent,proto3" json:"utm_content,omitempty"` UtmMedium string `protobuf:"bytes,24,opt,name=utm_medium,json=utmMedium,proto3" json:"utm_medium,omitempty"` UtmSource string `protobuf:"bytes,25,opt,name=utm_source,json=utmSource,proto3" json:"utm_source,omitempty"` UtmTerm string `protobuf:"bytes,26,opt,name=utm_term,json=utmTerm,proto3" json:"utm_term,omitempty"` Subdivision1Code string `protobuf:"bytes,27,opt,name=subdivision1_code,json=subdivision1Code,proto3" json:"subdivision1_code,omitempty"` Subdivision2Code string `protobuf:"bytes,28,opt,name=subdivision2_code,json=subdivision2Code,proto3" json:"subdivision2_code,omitempty"` // contains filtered or unexported fields }
func (*Model) Descriptor
deprecated
added in
v1.0.0
func (*Model) GetBrowser ¶ added in v1.0.0
func (*Model) GetBrowserVersion ¶ added in v1.0.0
func (*Model) GetCountry ¶ added in v1.0.0
func (*Model) GetDuration ¶ added in v1.0.0
func (*Model) GetEntryPage ¶ added in v1.0.0
func (*Model) GetExitPage ¶ added in v1.0.0
func (*Model) GetOsVersion ¶ added in v1.0.0
func (*Model) GetReferrer ¶ added in v1.0.0
func (*Model) GetSession ¶ added in v1.0.0
func (*Model) GetSubdivision1Code ¶ added in v1.0.0
func (*Model) GetSubdivision2Code ¶ added in v1.0.0
func (*Model) GetTimestamp ¶ added in v1.0.0
func (*Model) GetUtmCampaign ¶ added in v1.0.0
func (*Model) GetUtmContent ¶ added in v1.0.0
func (*Model) GetUtmMedium ¶ added in v1.0.0
func (*Model) GetUtmSource ¶ added in v1.0.0
func (*Model) GetUtmTerm ¶ added in v1.0.0
func (*Model) ProtoMessage ¶ added in v1.0.0
func (*Model) ProtoMessage()
func (*Model) ProtoReflect ¶ added in v1.0.0
func (x *Model) ProtoReflect() protoreflect.Message
type Share ¶ added in v1.0.0
type Share struct { // contains filtered or unexported fields }
func (*Share) Descriptor
deprecated
added in
v1.0.0
func (*Share) GetPassword ¶ added in v1.0.0
func (*Share) ProtoMessage ¶ added in v1.0.0
func (*Share) ProtoMessage()
func (*Share) ProtoReflect ¶ added in v1.0.0
func (x *Share) ProtoReflect() protoreflect.Message
type Site ¶ added in v1.0.0
type Site struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Public bool `protobuf:"varint,3,opt,name=public,proto3" json:"public,omitempty"` Locked bool `protobuf:"varint,5,opt,name=locked,proto3" json:"locked,omitempty"` // contains filtered or unexported fields }
func (*Site) Descriptor
deprecated
added in
v1.0.0
func (*Site) ProtoMessage ¶ added in v1.0.0
func (*Site) ProtoMessage()
func (*Site) ProtoReflect ¶ added in v1.0.0
func (x *Site) ProtoReflect() protoreflect.Message
type System ¶ added in v1.0.0
type System struct { Expiry uint64 `protobuf:"varint,1,opt,name=expiry,proto3" json:"expiry,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*System) Descriptor
deprecated
added in
v1.0.0
func (*System) ProtoMessage ¶ added in v1.0.0
func (*System) ProtoMessage()
func (*System) ProtoReflect ¶ added in v1.0.0
func (x *System) ProtoReflect() protoreflect.Message
type User ¶ added in v1.0.0
type User struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
added in
v1.0.0
func (*User) GetPassword ¶ added in v1.0.0
func (*User) ProtoMessage ¶ added in v1.0.0
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶ added in v1.0.0
func (x *User) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.