structs

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EfgsCounter added in v0.5.0

type EfgsCounter struct {
	KeysUploaded   int `json:"keysUploaded"`
	KeysDownloaded int `json:"keysDownloaded"`
	Publishers     int `json:"publishers"`
}

EfgsCounter DB entity for EFGS counters.

type IntegerValue

type IntegerValue struct {
	IntegerValue string `json:"integerValue"`
}

IntegerValue represents integer (as string) in firestore events

type MetricsData added in v0.4.9

type MetricsData struct {
	Modified                    int64  `json:"modified"`
	Date                        string `json:"date"`
	ActivationsYesterday        int32  `json:"activations_yesterday"`
	ActivationsTotal            int32  `json:"activations_total"`
	KeyPublishersYesterday      int32  `json:"key_publishers_yesterday"`
	KeyPublishersTotal          int32  `json:"key_publishers_total"`
	NotificationsYesterday      int32  `json:"notifications_yesterday"`
	NotificationsTotal          int32  `json:"notifications_total"`
	EfgsKeysUploadedTotal       int32  `json:"efgs_keys_uploaded_total"`
	EfgsKeysUploadedYesterday   int32  `json:"efgs_keys_uploaded_yesterday"`
	EfgsKeysDownloadedTotal     int32  `json:"efgs_keys_downloaded_total"`
	EfgsKeysDownloadedYesterday int32  `json:"efgs_keys_downloaded_yesterday"`
	EfgsPublishersTotal         int32  `json:"efgs_publishers_total"`
	EfgsPublishersYesterday     int32  `json:"efgs_publishers_yesterday"`
}

MetricsData Data of metrics.

type NotificationCounter

type NotificationCounter struct {
	NotificationsCount int `json:"notificationsCount"`
}

NotificationCounter DB entity for notification counter.

type PublisherCounter added in v0.5.0

type PublisherCounter struct {
	PublishersCount int `json:"publishersCount"`
	KeysCount       int `json:"keysCount"`
}

PublisherCounter DB entity for publishers counter.

type Registration

type Registration struct {
	Platform                  string `json:"platform"`
	PlatformVersion           string `json:"platformVersion"`
	Manufacturer              string `json:"manufacturer"`
	Model                     string `json:"model"`
	Locale                    string `json:"locale"`
	PushRegistrationToken     string `json:"pushRegistrationToken"`
	CreatedAt                 int64  `json:"createdAt"`
	LastNotificationStatus    string `json:"lastNotificationStatus"`
	LastNotificationUpdatedAt int64  `json:"lastNotificationUpdatedAt"`
}

Registration DB entity for registration.

type RegistrationV1 added in v0.4.5

type RegistrationV1 struct {
	FUID                  string `firestore:"fuid" json:"fuid"`
	Platform              string `firestore:"platform" json:"platform"`
	PlatformVersion       string `firestore:"platformVersion" json:"platformVersion"`
	Manufacturer          string `firestore:"manufacturer" json:"manufacturer"`
	Model                 string `firestore:"model" json:"model"`
	Locale                string `firestore:"locale" json:"locale"`
	PushRegistrationToken string `firestore:"pushRegistrationToken" json:"pushRegistrationToken"`
	CreatedAt             int64  `firestore:"createdAt" json:"createdAt"`
}

RegistrationV1 DB entity for registration V1 - the legacy one.

type StringValue

type StringValue struct {
	StringValue string `json:"stringValue"`
}

StringValue represents strings in firestore events

type UserCounter added in v0.3.2

type UserCounter struct {
	UsersCount int `json:"usersCount"`
}

UserCounter DB entity for users counter.

type VerificationCodeMetadata

type VerificationCodeMetadata struct {
	VsMetadata map[string]interface{} `json:"vsMetadata"`
	IssuedAt   int64                  `json:"issuedAt"`
}

VerificationCodeMetadata DB entity for verification code metadata.

Jump to

Keyboard shortcuts

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