firebase

package
v0.0.0-...-e2fa406 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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