Documentation ¶
Index ¶
- type FireStoreHandler
- func (fs *FireStoreHandler) GetPurchasesByAddress(address string) (account models.FirebaseAccount, err error)
- func (fs *FireStoreHandler) GetSecretByAddress(address string) (nonce models.FirebaseNonce, err error)
- func (fs *FireStoreHandler) RegisterPurchase(address string, newPurchase models.FirebasePurchase) error
- func (fs *FireStoreHandler) UpdateNonce(address string) (nonce models.FirebaseNonce, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FireStoreHandler ¶
type FireStoreHandler struct {
// contains filtered or unexported fields
}
func NewFirebaseHandler ¶
func NewFirebaseHandler() *FireStoreHandler
func (*FireStoreHandler) GetPurchasesByAddress ¶
func (fs *FireStoreHandler) GetPurchasesByAddress(address string) (account models.FirebaseAccount, err error)
func (*FireStoreHandler) GetSecretByAddress ¶
func (fs *FireStoreHandler) GetSecretByAddress(address string) (nonce models.FirebaseNonce, err error)
func (*FireStoreHandler) RegisterPurchase ¶
func (fs *FireStoreHandler) RegisterPurchase(address string, newPurchase models.FirebasePurchase) error
func (*FireStoreHandler) UpdateNonce ¶
func (fs *FireStoreHandler) UpdateNonce(address string) (nonce models.FirebaseNonce, err error)
UpdateNonce Updates nonce value with a +1, meant to be called on every message verification
Click to show internal directories.
Click to hide internal directories.