tracking

package
v0.0.0-...-b08fcc5 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_tracking_tracking_proto protoreflect.FileDescriptor

Functions

func NewTrackingEndpoints

func NewTrackingEndpoints() []*api.Endpoint

func RegisterTrackingHandler

func RegisterTrackingHandler(s server.Server, hdlr TrackingHandler, opts ...server.HandlerOption) error

Types

type ActiveItem

type ActiveItem struct {
	Date        int32  `protobuf:"varint,1,opt,name=Date,proto3" json:"Date"`
	Version     string `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version"`
	Platform    int32  `protobuf:"varint,3,opt,name=Platform,proto3" json:"Platform"`
	ActiveUsers int32  `protobuf:"varint,4,opt,name=ActiveUsers,proto3" json:"ActiveUsers"`
	SeeingUsers int32  `protobuf:"varint,5,opt,name=SeeingUsers,proto3" json:"SeeingUsers"`
	CreatedAt   string `protobuf:"bytes,8,opt,name=CreatedAt,proto3" json:"CreatedAt"` // 创建时间
	UpdatedAt   string `protobuf:"bytes,9,opt,name=UpdatedAt,proto3" json:"UpdatedAt"` // 修改时间
	// contains filtered or unexported fields
}

func (*ActiveItem) Descriptor deprecated

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

Deprecated: Use ActiveItem.ProtoReflect.Descriptor instead.

func (*ActiveItem) GetActiveUsers

func (x *ActiveItem) GetActiveUsers() int32

func (*ActiveItem) GetCreatedAt

func (x *ActiveItem) GetCreatedAt() string

func (*ActiveItem) GetDate

func (x *ActiveItem) GetDate() int32

func (*ActiveItem) GetPlatform

func (x *ActiveItem) GetPlatform() int32

func (*ActiveItem) GetSeeingUsers

func (x *ActiveItem) GetSeeingUsers() int32

func (*ActiveItem) GetUpdatedAt

func (x *ActiveItem) GetUpdatedAt() string

func (*ActiveItem) GetVersion

func (x *ActiveItem) GetVersion() string

func (*ActiveItem) ProtoMessage

func (*ActiveItem) ProtoMessage()

func (*ActiveItem) ProtoReflect

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

func (*ActiveItem) Reset

func (x *ActiveItem) Reset()

func (*ActiveItem) String

func (x *ActiveItem) String() string

func (*ActiveItem) Validate

func (m *ActiveItem) Validate() error

Validate checks the field values on ActiveItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ActiveItem) ValidateAll

func (m *ActiveItem) ValidateAll() error

ValidateAll checks the field values on ActiveItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActiveItemMultiError, or nil if none found.

type ActiveItemMultiError

type ActiveItemMultiError []error

ActiveItemMultiError is an error wrapping multiple validation errors returned by ActiveItem.ValidateAll() if the designated constraints aren't met.

func (ActiveItemMultiError) AllErrors

func (m ActiveItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ActiveItemMultiError) Error

func (m ActiveItemMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ActiveItemValidationError

type ActiveItemValidationError struct {
	// contains filtered or unexported fields
}

ActiveItemValidationError is the validation error returned by ActiveItem.Validate if the designated constraints aren't met.

func (ActiveItemValidationError) Cause

func (e ActiveItemValidationError) Cause() error

Cause function returns cause value.

func (ActiveItemValidationError) Error

Error satisfies the builtin error interface

func (ActiveItemValidationError) ErrorName

func (e ActiveItemValidationError) ErrorName() string

ErrorName returns error name.

func (ActiveItemValidationError) Field

Field function returns field value.

func (ActiveItemValidationError) Key

Key function returns key value.

func (ActiveItemValidationError) Reason

func (e ActiveItemValidationError) Reason() string

Reason function returns reason value.

type ActiveUsersListRequest

type ActiveUsersListRequest struct {
	Page     int32                  `protobuf:"varint,1,opt,name=Page,proto3" json:"Page"`
	Size     int32                  `protobuf:"varint,2,opt,name=Size,proto3" json:"Size"`
	StartAt  string                 `protobuf:"bytes,3,opt,name=StartAt,proto3" json:"StartAt"`
	EndAt    string                 `protobuf:"bytes,4,opt,name=EndAt,proto3" json:"EndAt"`
	Platform int32                  `protobuf:"varint,5,opt,name=Platform,proto3" json:"Platform"`
	Version  string                 `protobuf:"bytes,6,opt,name=Version,proto3" json:"Version"`
	Mask     *fieldmaskpb.FieldMask `protobuf:"bytes,7,opt,name=mask,proto3" json:"mask"`
	// contains filtered or unexported fields
}

func (*ActiveUsersListRequest) Descriptor deprecated

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

Deprecated: Use ActiveUsersListRequest.ProtoReflect.Descriptor instead.

func (*ActiveUsersListRequest) GetEndAt

func (x *ActiveUsersListRequest) GetEndAt() string

func (*ActiveUsersListRequest) GetMask

func (*ActiveUsersListRequest) GetPage

func (x *ActiveUsersListRequest) GetPage() int32

func (*ActiveUsersListRequest) GetPlatform

func (x *ActiveUsersListRequest) GetPlatform() int32

func (*ActiveUsersListRequest) GetSize

func (x *ActiveUsersListRequest) GetSize() int32

func (*ActiveUsersListRequest) GetStartAt

func (x *ActiveUsersListRequest) GetStartAt() string

func (*ActiveUsersListRequest) GetVersion

func (x *ActiveUsersListRequest) GetVersion() string

func (*ActiveUsersListRequest) ProtoMessage

func (*ActiveUsersListRequest) ProtoMessage()

func (*ActiveUsersListRequest) ProtoReflect

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

func (*ActiveUsersListRequest) Reset

func (x *ActiveUsersListRequest) Reset()

func (*ActiveUsersListRequest) String

func (x *ActiveUsersListRequest) String() string

func (*ActiveUsersListRequest) Validate

func (m *ActiveUsersListRequest) Validate() error

Validate checks the field values on ActiveUsersListRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ActiveUsersListRequest) ValidateAll

func (m *ActiveUsersListRequest) ValidateAll() error

ValidateAll checks the field values on ActiveUsersListRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActiveUsersListRequestMultiError, or nil if none found.

type ActiveUsersListRequestMultiError

type ActiveUsersListRequestMultiError []error

ActiveUsersListRequestMultiError is an error wrapping multiple validation errors returned by ActiveUsersListRequest.ValidateAll() if the designated constraints aren't met.

func (ActiveUsersListRequestMultiError) AllErrors

func (m ActiveUsersListRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ActiveUsersListRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ActiveUsersListRequestValidationError

type ActiveUsersListRequestValidationError struct {
	// contains filtered or unexported fields
}

ActiveUsersListRequestValidationError is the validation error returned by ActiveUsersListRequest.Validate if the designated constraints aren't met.

func (ActiveUsersListRequestValidationError) Cause

Cause function returns cause value.

func (ActiveUsersListRequestValidationError) Error

Error satisfies the builtin error interface

func (ActiveUsersListRequestValidationError) ErrorName

ErrorName returns error name.

func (ActiveUsersListRequestValidationError) Field

Field function returns field value.

func (ActiveUsersListRequestValidationError) Key

Key function returns key value.

func (ActiveUsersListRequestValidationError) Reason

Reason function returns reason value.

type ActiveUsersListResponse

type ActiveUsersListResponse struct {
	List  []*ActiveItem `protobuf:"bytes,1,rep,name=List,proto3" json:"List"`
	Total int64         `protobuf:"varint,2,opt,name=Total,proto3" json:"Total"`
	Page  int32         `protobuf:"varint,3,opt,name=Page,proto3" json:"Page"`
	Size  int32         `protobuf:"varint,4,opt,name=Size,proto3" json:"Size"`
	// contains filtered or unexported fields
}

func (*ActiveUsersListResponse) Descriptor deprecated

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

Deprecated: Use ActiveUsersListResponse.ProtoReflect.Descriptor instead.

func (*ActiveUsersListResponse) GetList

func (x *ActiveUsersListResponse) GetList() []*ActiveItem

func (*ActiveUsersListResponse) GetPage

func (x *ActiveUsersListResponse) GetPage() int32

func (*ActiveUsersListResponse) GetSize

func (x *ActiveUsersListResponse) GetSize() int32

func (*ActiveUsersListResponse) GetTotal

func (x *ActiveUsersListResponse) GetTotal() int64

func (*ActiveUsersListResponse) ProtoMessage

func (*ActiveUsersListResponse) ProtoMessage()

func (*ActiveUsersListResponse) ProtoReflect

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

func (*ActiveUsersListResponse) Reset

func (x *ActiveUsersListResponse) Reset()

func (*ActiveUsersListResponse) String

func (x *ActiveUsersListResponse) String() string

func (*ActiveUsersListResponse) Validate

func (m *ActiveUsersListResponse) Validate() error

Validate checks the field values on ActiveUsersListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ActiveUsersListResponse) ValidateAll

func (m *ActiveUsersListResponse) ValidateAll() error

ValidateAll checks the field values on ActiveUsersListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActiveUsersListResponseMultiError, or nil if none found.

type ActiveUsersListResponseMultiError

type ActiveUsersListResponseMultiError []error

ActiveUsersListResponseMultiError is an error wrapping multiple validation errors returned by ActiveUsersListResponse.ValidateAll() if the designated constraints aren't met.

func (ActiveUsersListResponseMultiError) AllErrors

func (m ActiveUsersListResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ActiveUsersListResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ActiveUsersListResponseValidationError

type ActiveUsersListResponseValidationError struct {
	// contains filtered or unexported fields
}

ActiveUsersListResponseValidationError is the validation error returned by ActiveUsersListResponse.Validate if the designated constraints aren't met.

func (ActiveUsersListResponseValidationError) Cause

Cause function returns cause value.

func (ActiveUsersListResponseValidationError) Error

Error satisfies the builtin error interface

func (ActiveUsersListResponseValidationError) ErrorName

ErrorName returns error name.

func (ActiveUsersListResponseValidationError) Field

Field function returns field value.

func (ActiveUsersListResponseValidationError) Key

Key function returns key value.

func (ActiveUsersListResponseValidationError) Reason

Reason function returns reason value.

type Item

type Item struct {
	Fingerprint  string `protobuf:"bytes,1,opt,name=Fingerprint,proto3" json:"Fingerprint"`   //设备指纹
	TrackName    string `protobuf:"bytes,2,opt,name=TrackName,proto3" json:"TrackName"`       // 归因名称
	Campaign     string `protobuf:"bytes,3,opt,name=Campaign,proto3" json:"Campaign"`         // 归因细则
	ClickLabel   string `protobuf:"bytes,4,opt,name=ClickLabel,proto3" json:"ClickLabel"`     // 归因关联参数
	LabelCountry string `protobuf:"bytes,5,opt,name=LabelCountry,proto3" json:"LabelCountry"` //归因所属国家
	CreatedAt    string `protobuf:"bytes,6,opt,name=CreatedAt,proto3" json:"CreatedAt"`       // 创建时间
	UpdatedAt    string `protobuf:"bytes,7,opt,name=UpdatedAt,proto3" json:"UpdatedAt"`       // 修改时间
	DeletedAt    string `protobuf:"bytes,8,opt,name=DeletedAt,proto3" json:"DeletedAt"`       // 删除时间
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetCampaign

func (x *Item) GetCampaign() string

func (*Item) GetClickLabel

func (x *Item) GetClickLabel() string

func (*Item) GetCreatedAt

func (x *Item) GetCreatedAt() string

func (*Item) GetDeletedAt

func (x *Item) GetDeletedAt() string

func (*Item) GetFingerprint

func (x *Item) GetFingerprint() string

func (*Item) GetLabelCountry

func (x *Item) GetLabelCountry() string

func (*Item) GetTrackName

func (x *Item) GetTrackName() string

func (*Item) GetUpdatedAt

func (x *Item) GetUpdatedAt() string

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

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

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

func (*Item) Validate

func (m *Item) Validate() error

Validate checks the field values on Item with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Item) ValidateAll

func (m *Item) ValidateAll() error

ValidateAll checks the field values on Item with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ItemMultiError, or nil if none found.

type ItemMultiError

type ItemMultiError []error

ItemMultiError is an error wrapping multiple validation errors returned by Item.ValidateAll() if the designated constraints aren't met.

func (ItemMultiError) AllErrors

func (m ItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ItemMultiError) Error

func (m ItemMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ItemValidationError

type ItemValidationError struct {
	// contains filtered or unexported fields
}

ItemValidationError is the validation error returned by Item.Validate if the designated constraints aren't met.

func (ItemValidationError) Cause

func (e ItemValidationError) Cause() error

Cause function returns cause value.

func (ItemValidationError) Error

func (e ItemValidationError) Error() string

Error satisfies the builtin error interface

func (ItemValidationError) ErrorName

func (e ItemValidationError) ErrorName() string

ErrorName returns error name.

func (ItemValidationError) Field

func (e ItemValidationError) Field() string

Field function returns field value.

func (ItemValidationError) Key

func (e ItemValidationError) Key() bool

Key function returns key value.

func (ItemValidationError) Reason

func (e ItemValidationError) Reason() string

Reason function returns reason value.

type RegisterUsersListItem

type RegisterUsersListItem struct {
	RegisterCount int32 `protobuf:"varint,1,opt,name=RegisterCount,proto3" json:"RegisterCount"`
	BindCount     int32 `protobuf:"varint,2,opt,name=BindCount,proto3" json:"BindCount"`
	// contains filtered or unexported fields
}

func (*RegisterUsersListItem) Descriptor deprecated

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

Deprecated: Use RegisterUsersListItem.ProtoReflect.Descriptor instead.

func (*RegisterUsersListItem) GetBindCount

func (x *RegisterUsersListItem) GetBindCount() int32

func (*RegisterUsersListItem) GetRegisterCount

func (x *RegisterUsersListItem) GetRegisterCount() int32

func (*RegisterUsersListItem) ProtoMessage

func (*RegisterUsersListItem) ProtoMessage()

func (*RegisterUsersListItem) ProtoReflect

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

func (*RegisterUsersListItem) Reset

func (x *RegisterUsersListItem) Reset()

func (*RegisterUsersListItem) String

func (x *RegisterUsersListItem) String() string

func (*RegisterUsersListItem) Validate

func (m *RegisterUsersListItem) Validate() error

Validate checks the field values on RegisterUsersListItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterUsersListItem) ValidateAll

func (m *RegisterUsersListItem) ValidateAll() error

ValidateAll checks the field values on RegisterUsersListItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterUsersListItemMultiError, or nil if none found.

type RegisterUsersListItemMultiError

type RegisterUsersListItemMultiError []error

RegisterUsersListItemMultiError is an error wrapping multiple validation errors returned by RegisterUsersListItem.ValidateAll() if the designated constraints aren't met.

func (RegisterUsersListItemMultiError) AllErrors

func (m RegisterUsersListItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterUsersListItemMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RegisterUsersListItemValidationError

type RegisterUsersListItemValidationError struct {
	// contains filtered or unexported fields
}

RegisterUsersListItemValidationError is the validation error returned by RegisterUsersListItem.Validate if the designated constraints aren't met.

func (RegisterUsersListItemValidationError) Cause

Cause function returns cause value.

func (RegisterUsersListItemValidationError) Error

Error satisfies the builtin error interface

func (RegisterUsersListItemValidationError) ErrorName

ErrorName returns error name.

func (RegisterUsersListItemValidationError) Field

Field function returns field value.

func (RegisterUsersListItemValidationError) Key

Key function returns key value.

func (RegisterUsersListItemValidationError) Reason

Reason function returns reason value.

type RegisterUsersListRequest

type RegisterUsersListRequest struct {
	SearchDate string `protobuf:"bytes,3,opt,name=SearchDate,proto3" json:"SearchDate"`
	// contains filtered or unexported fields
}

func (*RegisterUsersListRequest) Descriptor deprecated

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

Deprecated: Use RegisterUsersListRequest.ProtoReflect.Descriptor instead.

func (*RegisterUsersListRequest) GetSearchDate

func (x *RegisterUsersListRequest) GetSearchDate() string

func (*RegisterUsersListRequest) ProtoMessage

func (*RegisterUsersListRequest) ProtoMessage()

func (*RegisterUsersListRequest) ProtoReflect

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

func (*RegisterUsersListRequest) Reset

func (x *RegisterUsersListRequest) Reset()

func (*RegisterUsersListRequest) String

func (x *RegisterUsersListRequest) String() string

func (*RegisterUsersListRequest) Validate

func (m *RegisterUsersListRequest) Validate() error

Validate checks the field values on RegisterUsersListRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterUsersListRequest) ValidateAll

func (m *RegisterUsersListRequest) ValidateAll() error

ValidateAll checks the field values on RegisterUsersListRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterUsersListRequestMultiError, or nil if none found.

type RegisterUsersListRequestMultiError

type RegisterUsersListRequestMultiError []error

RegisterUsersListRequestMultiError is an error wrapping multiple validation errors returned by RegisterUsersListRequest.ValidateAll() if the designated constraints aren't met.

func (RegisterUsersListRequestMultiError) AllErrors

func (m RegisterUsersListRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterUsersListRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RegisterUsersListRequestValidationError

type RegisterUsersListRequestValidationError struct {
	// contains filtered or unexported fields
}

RegisterUsersListRequestValidationError is the validation error returned by RegisterUsersListRequest.Validate if the designated constraints aren't met.

func (RegisterUsersListRequestValidationError) Cause

Cause function returns cause value.

func (RegisterUsersListRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterUsersListRequestValidationError) ErrorName

ErrorName returns error name.

func (RegisterUsersListRequestValidationError) Field

Field function returns field value.

func (RegisterUsersListRequestValidationError) Key

Key function returns key value.

func (RegisterUsersListRequestValidationError) Reason

Reason function returns reason value.

type RegisterUsersListResponse

type RegisterUsersListResponse struct {
	Counts map[string]*RegisterUsersListItem `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RegisterUsersListResponse) Descriptor deprecated

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

Deprecated: Use RegisterUsersListResponse.ProtoReflect.Descriptor instead.

func (*RegisterUsersListResponse) GetCounts

func (*RegisterUsersListResponse) ProtoMessage

func (*RegisterUsersListResponse) ProtoMessage()

func (*RegisterUsersListResponse) ProtoReflect

func (*RegisterUsersListResponse) Reset

func (x *RegisterUsersListResponse) Reset()

func (*RegisterUsersListResponse) String

func (x *RegisterUsersListResponse) String() string

func (*RegisterUsersListResponse) Validate

func (m *RegisterUsersListResponse) Validate() error

Validate checks the field values on RegisterUsersListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterUsersListResponse) ValidateAll

func (m *RegisterUsersListResponse) ValidateAll() error

ValidateAll checks the field values on RegisterUsersListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterUsersListResponseMultiError, or nil if none found.

type RegisterUsersListResponseMultiError

type RegisterUsersListResponseMultiError []error

RegisterUsersListResponseMultiError is an error wrapping multiple validation errors returned by RegisterUsersListResponse.ValidateAll() if the designated constraints aren't met.

func (RegisterUsersListResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RegisterUsersListResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RegisterUsersListResponseValidationError

type RegisterUsersListResponseValidationError struct {
	// contains filtered or unexported fields
}

RegisterUsersListResponseValidationError is the validation error returned by RegisterUsersListResponse.Validate if the designated constraints aren't met.

func (RegisterUsersListResponseValidationError) Cause

Cause function returns cause value.

func (RegisterUsersListResponseValidationError) Error

Error satisfies the builtin error interface

func (RegisterUsersListResponseValidationError) ErrorName

ErrorName returns error name.

func (RegisterUsersListResponseValidationError) Field

Field function returns field value.

func (RegisterUsersListResponseValidationError) Key

Key function returns key value.

func (RegisterUsersListResponseValidationError) Reason

Reason function returns reason value.

type RetentionItem

type RetentionItem struct {
	Date               int32  `protobuf:"varint,1,opt,name=Date,proto3" json:"Date"`
	NewUsers           int32  `protobuf:"varint,2,opt,name=NewUsers,proto3" json:"NewUsers"`
	Platform           int32  `protobuf:"varint,3,opt,name=Platform,proto3" json:"Platform"`
	DayOneRetention    int32  `protobuf:"varint,4,opt,name=DayOneRetention,proto3" json:"DayOneRetention"`
	DaySevenRetention  int32  `protobuf:"varint,5,opt,name=DaySevenRetention,proto3" json:"DaySevenRetention"`
	DayThirtyRetention int32  `protobuf:"varint,6,opt,name=DayThirtyRetention,proto3" json:"DayThirtyRetention"`
	CreatedAt          string `protobuf:"bytes,8,opt,name=CreatedAt,proto3" json:"CreatedAt"` // 创建时间
	UpdatedAt          string `protobuf:"bytes,9,opt,name=UpdatedAt,proto3" json:"UpdatedAt"` // 修改时间
	// contains filtered or unexported fields
}

func (*RetentionItem) Descriptor deprecated

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

Deprecated: Use RetentionItem.ProtoReflect.Descriptor instead.

func (*RetentionItem) GetCreatedAt

func (x *RetentionItem) GetCreatedAt() string

func (*RetentionItem) GetDate

func (x *RetentionItem) GetDate() int32

func (*RetentionItem) GetDayOneRetention

func (x *RetentionItem) GetDayOneRetention() int32

func (*RetentionItem) GetDaySevenRetention

func (x *RetentionItem) GetDaySevenRetention() int32

func (*RetentionItem) GetDayThirtyRetention

func (x *RetentionItem) GetDayThirtyRetention() int32

func (*RetentionItem) GetNewUsers

func (x *RetentionItem) GetNewUsers() int32

func (*RetentionItem) GetPlatform

func (x *RetentionItem) GetPlatform() int32

func (*RetentionItem) GetUpdatedAt

func (x *RetentionItem) GetUpdatedAt() string

func (*RetentionItem) ProtoMessage

func (*RetentionItem) ProtoMessage()

func (*RetentionItem) ProtoReflect

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

func (*RetentionItem) Reset

func (x *RetentionItem) Reset()

func (*RetentionItem) String

func (x *RetentionItem) String() string

func (*RetentionItem) Validate

func (m *RetentionItem) Validate() error

Validate checks the field values on RetentionItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RetentionItem) ValidateAll

func (m *RetentionItem) ValidateAll() error

ValidateAll checks the field values on RetentionItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RetentionItemMultiError, or nil if none found.

type RetentionItemMultiError

type RetentionItemMultiError []error

RetentionItemMultiError is an error wrapping multiple validation errors returned by RetentionItem.ValidateAll() if the designated constraints aren't met.

func (RetentionItemMultiError) AllErrors

func (m RetentionItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RetentionItemMultiError) Error

func (m RetentionItemMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RetentionItemValidationError

type RetentionItemValidationError struct {
	// contains filtered or unexported fields
}

RetentionItemValidationError is the validation error returned by RetentionItem.Validate if the designated constraints aren't met.

func (RetentionItemValidationError) Cause

Cause function returns cause value.

func (RetentionItemValidationError) Error

Error satisfies the builtin error interface

func (RetentionItemValidationError) ErrorName

func (e RetentionItemValidationError) ErrorName() string

ErrorName returns error name.

func (RetentionItemValidationError) Field

Field function returns field value.

func (RetentionItemValidationError) Key

Key function returns key value.

func (RetentionItemValidationError) Reason

Reason function returns reason value.

type RetentionUsersListRequest

type RetentionUsersListRequest struct {
	Page    int32  `protobuf:"varint,1,opt,name=Page,proto3" json:"Page"`
	Size    int32  `protobuf:"varint,2,opt,name=Size,proto3" json:"Size"`
	StartAt string `protobuf:"bytes,3,opt,name=StartAt,proto3" json:"StartAt"`
	EndAt   string `protobuf:"bytes,4,opt,name=EndAt,proto3" json:"EndAt"`
	// contains filtered or unexported fields
}

func (*RetentionUsersListRequest) Descriptor deprecated

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

Deprecated: Use RetentionUsersListRequest.ProtoReflect.Descriptor instead.

func (*RetentionUsersListRequest) GetEndAt

func (x *RetentionUsersListRequest) GetEndAt() string

func (*RetentionUsersListRequest) GetPage

func (x *RetentionUsersListRequest) GetPage() int32

func (*RetentionUsersListRequest) GetSize

func (x *RetentionUsersListRequest) GetSize() int32

func (*RetentionUsersListRequest) GetStartAt

func (x *RetentionUsersListRequest) GetStartAt() string

func (*RetentionUsersListRequest) ProtoMessage

func (*RetentionUsersListRequest) ProtoMessage()

func (*RetentionUsersListRequest) ProtoReflect

func (*RetentionUsersListRequest) Reset

func (x *RetentionUsersListRequest) Reset()

func (*RetentionUsersListRequest) String

func (x *RetentionUsersListRequest) String() string

func (*RetentionUsersListRequest) Validate

func (m *RetentionUsersListRequest) Validate() error

Validate checks the field values on RetentionUsersListRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RetentionUsersListRequest) ValidateAll

func (m *RetentionUsersListRequest) ValidateAll() error

ValidateAll checks the field values on RetentionUsersListRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RetentionUsersListRequestMultiError, or nil if none found.

type RetentionUsersListRequestMultiError

type RetentionUsersListRequestMultiError []error

RetentionUsersListRequestMultiError is an error wrapping multiple validation errors returned by RetentionUsersListRequest.ValidateAll() if the designated constraints aren't met.

func (RetentionUsersListRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RetentionUsersListRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RetentionUsersListRequestValidationError

type RetentionUsersListRequestValidationError struct {
	// contains filtered or unexported fields
}

RetentionUsersListRequestValidationError is the validation error returned by RetentionUsersListRequest.Validate if the designated constraints aren't met.

func (RetentionUsersListRequestValidationError) Cause

Cause function returns cause value.

func (RetentionUsersListRequestValidationError) Error

Error satisfies the builtin error interface

func (RetentionUsersListRequestValidationError) ErrorName

ErrorName returns error name.

func (RetentionUsersListRequestValidationError) Field

Field function returns field value.

func (RetentionUsersListRequestValidationError) Key

Key function returns key value.

func (RetentionUsersListRequestValidationError) Reason

Reason function returns reason value.

type RetentionUsersListResponse

type RetentionUsersListResponse struct {
	List  []*RetentionItem `protobuf:"bytes,1,rep,name=List,proto3" json:"List"`
	Total int64            `protobuf:"varint,2,opt,name=Total,proto3" json:"Total"`
	Page  int32            `protobuf:"varint,3,opt,name=Page,proto3" json:"Page"`
	Size  int32            `protobuf:"varint,4,opt,name=Size,proto3" json:"Size"`
	// contains filtered or unexported fields
}

func (*RetentionUsersListResponse) Descriptor deprecated

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

Deprecated: Use RetentionUsersListResponse.ProtoReflect.Descriptor instead.

func (*RetentionUsersListResponse) GetList

func (x *RetentionUsersListResponse) GetList() []*RetentionItem

func (*RetentionUsersListResponse) GetPage

func (x *RetentionUsersListResponse) GetPage() int32

func (*RetentionUsersListResponse) GetSize

func (x *RetentionUsersListResponse) GetSize() int32

func (*RetentionUsersListResponse) GetTotal

func (x *RetentionUsersListResponse) GetTotal() int64

func (*RetentionUsersListResponse) ProtoMessage

func (*RetentionUsersListResponse) ProtoMessage()

func (*RetentionUsersListResponse) ProtoReflect

func (*RetentionUsersListResponse) Reset

func (x *RetentionUsersListResponse) Reset()

func (*RetentionUsersListResponse) String

func (x *RetentionUsersListResponse) String() string

func (*RetentionUsersListResponse) Validate

func (m *RetentionUsersListResponse) Validate() error

Validate checks the field values on RetentionUsersListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RetentionUsersListResponse) ValidateAll

func (m *RetentionUsersListResponse) ValidateAll() error

ValidateAll checks the field values on RetentionUsersListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RetentionUsersListResponseMultiError, or nil if none found.

type RetentionUsersListResponseMultiError

type RetentionUsersListResponseMultiError []error

RetentionUsersListResponseMultiError is an error wrapping multiple validation errors returned by RetentionUsersListResponse.ValidateAll() if the designated constraints aren't met.

func (RetentionUsersListResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RetentionUsersListResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RetentionUsersListResponseValidationError

type RetentionUsersListResponseValidationError struct {
	// contains filtered or unexported fields
}

RetentionUsersListResponseValidationError is the validation error returned by RetentionUsersListResponse.Validate if the designated constraints aren't met.

func (RetentionUsersListResponseValidationError) Cause

Cause function returns cause value.

func (RetentionUsersListResponseValidationError) Error

Error satisfies the builtin error interface

func (RetentionUsersListResponseValidationError) ErrorName

ErrorName returns error name.

func (RetentionUsersListResponseValidationError) Field

Field function returns field value.

func (RetentionUsersListResponseValidationError) Key

Key function returns key value.

func (RetentionUsersListResponseValidationError) Reason

Reason function returns reason value.

type TrackingService

type TrackingService interface {
	UserInviteTrack(ctx context.Context, in *UserInviteTrackRequest, opts ...client.CallOption) (*UserInviteTrackResponse, error)
	ActiveUsersList(ctx context.Context, in *ActiveUsersListRequest, opts ...client.CallOption) (*ActiveUsersListResponse, error)
	RetentionUsersList(ctx context.Context, in *RetentionUsersListRequest, opts ...client.CallOption) (*RetentionUsersListResponse, error)
	RegisterUsersList(ctx context.Context, in *RegisterUsersListRequest, opts ...client.CallOption) (*RegisterUsersListResponse, error)
}

func NewTrackingService

func NewTrackingService(name string, c client.Client) TrackingService

type UserInviteTrackRequest

type UserInviteTrackRequest struct {
	Item *Item `protobuf:"bytes,1,opt,name=Item,proto3" json:"Item"` // 邀请归因参数
	// contains filtered or unexported fields
}

func (*UserInviteTrackRequest) Descriptor deprecated

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

Deprecated: Use UserInviteTrackRequest.ProtoReflect.Descriptor instead.

func (*UserInviteTrackRequest) GetItem

func (x *UserInviteTrackRequest) GetItem() *Item

func (*UserInviteTrackRequest) ProtoMessage

func (*UserInviteTrackRequest) ProtoMessage()

func (*UserInviteTrackRequest) ProtoReflect

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

func (*UserInviteTrackRequest) Reset

func (x *UserInviteTrackRequest) Reset()

func (*UserInviteTrackRequest) String

func (x *UserInviteTrackRequest) String() string

func (*UserInviteTrackRequest) Validate

func (m *UserInviteTrackRequest) Validate() error

Validate checks the field values on UserInviteTrackRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UserInviteTrackRequest) ValidateAll

func (m *UserInviteTrackRequest) ValidateAll() error

ValidateAll checks the field values on UserInviteTrackRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserInviteTrackRequestMultiError, or nil if none found.

type UserInviteTrackRequestMultiError

type UserInviteTrackRequestMultiError []error

UserInviteTrackRequestMultiError is an error wrapping multiple validation errors returned by UserInviteTrackRequest.ValidateAll() if the designated constraints aren't met.

func (UserInviteTrackRequestMultiError) AllErrors

func (m UserInviteTrackRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserInviteTrackRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UserInviteTrackRequestValidationError

type UserInviteTrackRequestValidationError struct {
	// contains filtered or unexported fields
}

UserInviteTrackRequestValidationError is the validation error returned by UserInviteTrackRequest.Validate if the designated constraints aren't met.

func (UserInviteTrackRequestValidationError) Cause

Cause function returns cause value.

func (UserInviteTrackRequestValidationError) Error

Error satisfies the builtin error interface

func (UserInviteTrackRequestValidationError) ErrorName

ErrorName returns error name.

func (UserInviteTrackRequestValidationError) Field

Field function returns field value.

func (UserInviteTrackRequestValidationError) Key

Key function returns key value.

func (UserInviteTrackRequestValidationError) Reason

Reason function returns reason value.

type UserInviteTrackResponse

type UserInviteTrackResponse struct {
	Item *Item `protobuf:"bytes,1,opt,name=Item,proto3" json:"Item"` //邀请归因返回参数
	// contains filtered or unexported fields
}

func (*UserInviteTrackResponse) Descriptor deprecated

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

Deprecated: Use UserInviteTrackResponse.ProtoReflect.Descriptor instead.

func (*UserInviteTrackResponse) GetItem

func (x *UserInviteTrackResponse) GetItem() *Item

func (*UserInviteTrackResponse) ProtoMessage

func (*UserInviteTrackResponse) ProtoMessage()

func (*UserInviteTrackResponse) ProtoReflect

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

func (*UserInviteTrackResponse) Reset

func (x *UserInviteTrackResponse) Reset()

func (*UserInviteTrackResponse) String

func (x *UserInviteTrackResponse) String() string

func (*UserInviteTrackResponse) Validate

func (m *UserInviteTrackResponse) Validate() error

Validate checks the field values on UserInviteTrackResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UserInviteTrackResponse) ValidateAll

func (m *UserInviteTrackResponse) ValidateAll() error

ValidateAll checks the field values on UserInviteTrackResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserInviteTrackResponseMultiError, or nil if none found.

type UserInviteTrackResponseMultiError

type UserInviteTrackResponseMultiError []error

UserInviteTrackResponseMultiError is an error wrapping multiple validation errors returned by UserInviteTrackResponse.ValidateAll() if the designated constraints aren't met.

func (UserInviteTrackResponseMultiError) AllErrors

func (m UserInviteTrackResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserInviteTrackResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UserInviteTrackResponseValidationError

type UserInviteTrackResponseValidationError struct {
	// contains filtered or unexported fields
}

UserInviteTrackResponseValidationError is the validation error returned by UserInviteTrackResponse.Validate if the designated constraints aren't met.

func (UserInviteTrackResponseValidationError) Cause

Cause function returns cause value.

func (UserInviteTrackResponseValidationError) Error

Error satisfies the builtin error interface

func (UserInviteTrackResponseValidationError) ErrorName

ErrorName returns error name.

func (UserInviteTrackResponseValidationError) Field

Field function returns field value.

func (UserInviteTrackResponseValidationError) Key

Key function returns key value.

func (UserInviteTrackResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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