Versions in this module Expand all Collapse all v0 v0.0.1 Dec 29, 2024 Changes in this version + const NotificationStatusDone + const NotificationStatusFail + const NotificationStatusPending + type AppID int + const AppIDCLI + const AppIDDiscord + const AppIDHTTP + const AppIDTelegram + const AppIDgRPC + func AllAppIDs() []AppID + func (appID AppID) String() string + type AzbitPriceResponse struct + AskPrice float64 + BidPrice float64 + CurrencyPairCode string + High24H float64 + Low24H float64 + Price float64 + Price24HAgo float64 + PriceChangePercentage24H float64 + Timestamp int + Volume24H float64 + type Notification struct + Data datatypes.JSON + ID uint + Recipient string + Status NotificationStatus + Type notification.NotificationType + type NotificationStatus int + type PhoenixFaucet struct + Address string + Amount amount.Amount + ID uint + TransactionHash string + UserID uint + func (*PhoenixFaucet) TableName() string + func (f *PhoenixFaucet) ElapsedTime() time.Duration + type Price struct + AzbitPacToUSDT AzbitPriceResponse + XeggexPacToUSDT XeggexPriceResponse + type Role int + const Admin + const BasicUser + const Moderator + type User struct + ApplicationID AppID + CallerID string + CreatedAt time.Time + DeletedAt sql.NullTime + ID uint + Role Role + UpdatedAt time.Time + type Validator struct + CreatedAt time.Time + DeletedAt sql.NullTime + Email string + ID uint + Name string + UpdatedAt time.Time + type Voucher struct + Amount amount.Amount + ClaimedBy uint + Code string + Creator uint + Desc string + Email string + ID uint + Recipient string + TxHash string + ValidMonths uint8 + func (Voucher) TableName() string + func (v *Voucher) IsClaimed() bool + type VoucherNotificationData struct + Amount float64 + Code string + Recipient string + type XeggexPriceResponse struct + BestAsk string + BestBid string + ChangePercent string + Decimal int + HighPrice string + LastPrice string + LowPrice string + MarketCap float64 + SpreadPercent string + Volume string + YesterdayPrice string + type ZealyUser struct + Amount amount.Amount + DiscordID string + TxHash string + func (z *ZealyUser) IsClaimed() bool