Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisCache ¶
type RedisCache struct{}
type TransactionCache ¶
type TransactionCache struct {
Email string `json:"Email"`
DonationType string `json:"DonationType"`
PaymentMethod string `json:"PaymentMethod"`
DateCreated time.Time `json:"DateCreated"`
Transactionid int `json:"Transactionid"`
Firstname string `json:"Firstname"`
Lastname string `json:"Lastname"`
Amount float64 `json:"Amount"`
Address string `json:"Address"`
Phone string `json:"Phone"`
DateDonated time.Time `json:"DateDonated"`
}
type TransactionsCache ¶
type TransactionsCache struct {
Transactions []TransactionCache
FundRaiser string
}
func (TransactionsCache) GetAllTransactionsByFundRaiser ¶
func (transactionscache TransactionsCache) GetAllTransactionsByFundRaiser(fundraiser string) (TransactionsCache, error)
func (TransactionsCache) SetTransactionsByFundRaiser ¶
func (transactions TransactionsCache) SetTransactionsByFundRaiser() error
Click to show internal directories.
Click to hide internal directories.