Documentation ¶
Index ¶
- func NewGetVoucherQuotaLimit(voucherRepo VoucherRepository) andromeda.GetQuota
- func NewGetVoucherQuotaUsage(voucherRepo VoucherRepository) andromeda.GetQuota
- func NewGetVoucherQuotaUsageExpiration() andromeda.GetQuotaExpiration
- func NewGetVoucherQuotaUsageKey(keyFormat string) andromeda.GetQuotaKey
- func NewUpdateVoucherQuotaUsageListener() andromeda.UpdateQuotaUsageListener
- type ClaimVoucher
- type History
- type HistoryRepository
- type Voucher
- type VoucherRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetVoucherQuotaLimit ¶
func NewGetVoucherQuotaLimit(voucherRepo VoucherRepository) andromeda.GetQuota
func NewGetVoucherQuotaUsage ¶
func NewGetVoucherQuotaUsage(voucherRepo VoucherRepository) andromeda.GetQuota
func NewGetVoucherQuotaUsageExpiration ¶
func NewGetVoucherQuotaUsageExpiration() andromeda.GetQuotaExpiration
func NewGetVoucherQuotaUsageKey ¶
func NewGetVoucherQuotaUsageKey(keyFormat string) andromeda.GetQuotaKey
func NewUpdateVoucherQuotaUsageListener ¶
func NewUpdateVoucherQuotaUsageListener() andromeda.UpdateQuotaUsageListener
Types ¶
type ClaimVoucher ¶
func NewClaimVoucher ¶
func NewClaimVoucher( voucherRepo VoucherRepository, historyRepo HistoryRepository, addVoucherUsage andromeda.UpdateQuotaUsage, reduceVoucherUsage andromeda.UpdateQuotaUsage, ) ClaimVoucher
func NewUnClaimVoucher ¶
func NewUnClaimVoucher( voucherRepo VoucherRepository, historyRepo HistoryRepository, addVoucherUsage andromeda.UpdateQuotaUsage, reduceVoucherUsage andromeda.UpdateQuotaUsage, ) ClaimVoucher
type HistoryRepository ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.