admin_requests

package
v0.9.16 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyticsData

type AnalyticsData struct {
	SystemInfo      *SystemInfo               `json:"system_info,omitempty"`
	EnvironmentInfo *EnvironmentInfo          `json:"environment_info,omitempty"`
	TransferStats   []TransferStatsByCurrency `json:"transfer_stats,omitempty"`
}

type EnvironmentInfo

type EnvironmentInfo struct {
	BackendVersionHash    string `json:"backend_version_hash"`
	BackendVersionTag     string `json:"backend_version_tag"`
	ProcessingVersionHash string `json:"processing_version_hash"`
	ProcessingVersionTag  string `json:"processing_version_tag"`
	UpdaterVersionHash    string `json:"updater_version_hash"`
	UpdaterVersionTag     string `json:"updater_version_tag"`
}

type HeartBeatRequest

type HeartBeatRequest struct {
	TS            time.Time      `json:"ts"`
	AnalyticsData *AnalyticsData `json:"analytics_data,omitempty"`
}

type InitAuthRequest

type InitAuthRequest struct {
	OwnerID uuid.UUID `json:"owner_id"`
}

type NotificationIdentity

type NotificationIdentity struct {
	Destination string `json:"destination"`
	Channel     string `json:"channel,omitempty"`
}

type SystemInfo

type SystemInfo struct {
	OS             string    `json:"os"`
	Architecture   string    `json:"architecture"`
	Version        string    `json:"version"`
	GoVersion      string    `json:"go_version"`
	CollectionTime time.Time `json:"collection_time"`
}

type TransferStatsByCurrency

type TransferStatsByCurrency struct {
	CurrencyID     string          `json:"currency_id"`
	CurrencyCode   string          `json:"currency_code"`
	TotalCount     int64           `json:"total_count"`
	TotalAmount    decimal.Decimal `json:"total_amount"`
	TotalAmountUSD decimal.Decimal `json:"total_amount_usd"`
}

type VerifyNotification

type VerifyNotification struct {
	BackendClientID string               `json:"_backend_client_id"` //nolint:tagliatelle
	BackendDomain   string               `json:"_backend_domain"`    //nolint:tagliatelle
	Locale          string               `json:"locale"`
	Identity        NotificationIdentity `json:"identity"`
	Code            string               `json:"code"`
}

type WalletAddressDTO

type WalletAddressDTO struct {
	CurrencyID string `json:"currency_id"`
	Blockchain string `json:"blockchain"`
	Address    string `json:"address"`
}

type WalletsRequestNotification

type WalletsRequestNotification struct {
	BackendClientID string               `json:"_backend_client_id"` //nolint:tagliatelle
	BackendDomain   string               `json:"_backend_domain"`    //nolint:tagliatelle
	Locale          string               `json:"locale"`
	Identity        NotificationIdentity `json:"identity"`
	Addresses       []WalletAddressDTO   `json:"addresses"`
}

Jump to

Keyboard shortcuts

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