Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
Cache is an interface for how to lookup a coupon based upon the code.
func NewCouponCacheFromURL ¶
func NewCouponCacheFromURL(config *conf.Configuration) Cache
NewCouponCacheFromURL creates a coupon cache using the provided configuration.
type CouponNotFound ¶
type CouponNotFound struct{}
CouponNotFound is an error when a coupon could not be found.
func (CouponNotFound) Error ¶
func (CouponNotFound) Error() string
Click to show internal directories.
Click to hide internal directories.