v1

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use APIKey.ProtoReflect.Descriptor instead.

func (*APIKey) GetHash added in v1.1.0

func (x *APIKey) GetHash() []byte

func (*APIKey) GetName added in v1.1.0

func (x *APIKey) GetName() string

func (*APIKey) GetPrefix added in v1.1.0

func (x *APIKey) GetPrefix() string

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

func (*APIKey) Reset added in v1.1.0

func (x *APIKey) Reset()

func (*APIKey) String added in v1.1.0

func (x *APIKey) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetBot added in v1.0.0

func (x *Agent) GetBot() bool

func (*Agent) GetBrowser added in v1.0.0

func (x *Agent) GetBrowser() string

func (*Agent) GetBrowserVersion added in v1.0.0

func (x *Agent) GetBrowserVersion() string

func (*Agent) GetDevice added in v1.0.0

func (x *Agent) GetDevice() string

func (*Agent) GetOs added in v1.0.0

func (x *Agent) GetOs() string

func (*Agent) GetOsVersion added in v1.0.0

func (x *Agent) GetOsVersion() string

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

func (*Agent) Reset added in v1.0.0

func (x *Agent) Reset()

func (*Agent) String added in v1.0.0

func (x *Agent) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetAcme

func (x *Config) GetAcme() bool

func (*Config) GetAcmeDomain added in v1.0.0

func (x *Config) GetAcmeDomain() string

func (*Config) GetAcmeEmail added in v1.0.0

func (x *Config) GetAcmeEmail() string

func (*Config) GetAdmin added in v1.0.0

func (x *Config) GetAdmin() *User

func (*Config) GetDataPath added in v1.0.0

func (x *Config) GetDataPath() string

func (*Config) GetDomains added in v1.0.0

func (x *Config) GetDomains() []string

func (*Config) GetLicense added in v1.0.0

func (x *Config) GetLicense() string

func (*Config) GetListen

func (x *Config) GetListen() string

func (*Config) GetProfile added in v1.1.0

func (x *Config) GetProfile() bool

func (*Config) GetUrl added in v1.0.0

func (x *Config) GetUrl() string

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

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) Enum added in v1.0.0

func (x Field) Enum() *Field

func (Field) EnumDescriptor deprecated added in v1.0.0

func (Field) EnumDescriptor() ([]byte, []int)

Deprecated: Use Field.Descriptor instead.

func (Field) Number added in v1.0.0

func (x Field) Number() protoreflect.EnumNumber

func (Field) String added in v1.0.0

func (x Field) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use License.ProtoReflect.Descriptor instead.

func (*License) GetEmail added in v1.0.0

func (x *License) GetEmail() string

func (*License) GetExpiry added in v1.0.0

func (x *License) GetExpiry() uint64

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

func (*License) Reset added in v1.0.0

func (x *License) Reset()

func (*License) String added in v1.0.0

func (x *License) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetCity added in v1.0.0

func (x *Location) GetCity() []byte

func (*Location) GetCityCode added in v1.0.0

func (x *Location) GetCityCode() []byte

func (*Location) GetNames added in v1.0.0

func (x *Location) GetNames() []string

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

func (*Location) Reset added in v1.0.0

func (x *Location) Reset()

func (*Location) String added in v1.0.0

func (x *Location) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Model.ProtoReflect.Descriptor instead.

func (*Model) GetBounce added in v1.0.0

func (x *Model) GetBounce() int32

func (*Model) GetBrowser added in v1.0.0

func (x *Model) GetBrowser() string

func (*Model) GetBrowserVersion added in v1.0.0

func (x *Model) GetBrowserVersion() string

func (*Model) GetCity added in v1.0.0

func (x *Model) GetCity() uint32

func (*Model) GetCountry added in v1.0.0

func (x *Model) GetCountry() string

func (*Model) GetDevice added in v1.0.0

func (x *Model) GetDevice() string

func (*Model) GetDomain added in v1.0.0

func (x *Model) GetDomain() string

func (*Model) GetDuration added in v1.0.0

func (x *Model) GetDuration() int64

func (*Model) GetEntryPage added in v1.0.0

func (x *Model) GetEntryPage() string

func (*Model) GetEvent added in v1.0.0

func (x *Model) GetEvent() string

func (*Model) GetExitPage added in v1.0.0

func (x *Model) GetExitPage() string

func (*Model) GetHost added in v1.0.0

func (x *Model) GetHost() string

func (*Model) GetId added in v1.0.0

func (x *Model) GetId() uint64

func (*Model) GetOs added in v1.0.0

func (x *Model) GetOs() string

func (*Model) GetOsVersion added in v1.0.0

func (x *Model) GetOsVersion() string

func (*Model) GetPage added in v1.0.0

func (x *Model) GetPage() string

func (*Model) GetReferrer added in v1.0.0

func (x *Model) GetReferrer() string

func (*Model) GetSession added in v1.0.0

func (x *Model) GetSession() bool

func (*Model) GetSource added in v1.0.0

func (x *Model) GetSource() string

func (*Model) GetSubdivision1Code added in v1.0.0

func (x *Model) GetSubdivision1Code() string

func (*Model) GetSubdivision2Code added in v1.0.0

func (x *Model) GetSubdivision2Code() string

func (*Model) GetTimestamp added in v1.0.0

func (x *Model) GetTimestamp() int64

func (*Model) GetUtmCampaign added in v1.0.0

func (x *Model) GetUtmCampaign() string

func (*Model) GetUtmContent added in v1.0.0

func (x *Model) GetUtmContent() string

func (*Model) GetUtmMedium added in v1.0.0

func (x *Model) GetUtmMedium() string

func (*Model) GetUtmSource added in v1.0.0

func (x *Model) GetUtmSource() string

func (*Model) GetUtmTerm added in v1.0.0

func (x *Model) GetUtmTerm() string

func (*Model) GetView added in v1.0.0

func (x *Model) GetView() bool

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

func (*Model) Reset added in v1.0.0

func (x *Model) Reset()

func (*Model) String added in v1.0.0

func (x *Model) String() string

type Share added in v1.0.0

type Share struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Password []byte `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*Share) Descriptor deprecated added in v1.0.0

func (*Share) Descriptor() ([]byte, []int)

Deprecated: Use Share.ProtoReflect.Descriptor instead.

func (*Share) GetId added in v1.0.0

func (x *Share) GetId() string

func (*Share) GetName added in v1.0.0

func (x *Share) GetName() string

func (*Share) GetPassword added in v1.0.0

func (x *Share) GetPassword() []byte

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

func (*Share) Reset added in v1.0.0

func (x *Share) Reset()

func (*Share) String added in v1.0.0

func (x *Share) String() string

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"`
	Shares []*Share `protobuf:"bytes,4,rep,name=shares,proto3" json:"shares,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) Descriptor() ([]byte, []int)

Deprecated: Use Site.ProtoReflect.Descriptor instead.

func (*Site) GetDomain added in v1.0.0

func (x *Site) GetDomain() string

func (*Site) GetId added in v1.0.0

func (x *Site) GetId() []byte

func (*Site) GetLocked added in v1.0.0

func (x *Site) GetLocked() bool

func (*Site) GetPublic added in v1.0.0

func (x *Site) GetPublic() bool

func (*Site) GetShares added in v1.0.0

func (x *Site) GetShares() []*Share

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

func (*Site) Reset added in v1.0.0

func (x *Site) Reset()

func (*Site) String added in v1.0.0

func (x *Site) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use System.ProtoReflect.Descriptor instead.

func (*System) GetEmail added in v1.0.0

func (x *System) GetEmail() string

func (*System) GetExpiry added in v1.0.0

func (x *System) GetExpiry() uint64

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

func (*System) Reset added in v1.0.0

func (x *System) Reset()

func (*System) String added in v1.0.0

func (x *System) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmail added in v1.0.0

func (x *User) GetEmail() string

func (*User) GetName added in v1.0.0

func (x *User) GetName() string

func (*User) GetPassword added in v1.0.0

func (x *User) GetPassword() string

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

func (*User) Reset added in v1.0.0

func (x *User) Reset()

func (*User) String added in v1.0.0

func (x *User) String() string

Jump to

Keyboard shortcuts

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