Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuctionDataProvider ¶
type CachedAuctionDataProvider ¶
type CachedAuctionDataProvider struct {
// contains filtered or unexported fields
}
func NewCachedAuctionDataProvider ¶
func NewCachedAuctionDataProvider(dataProvider AuctionDataProvider, cacheLifetime time.Duration) *CachedAuctionDataProvider
func (*CachedAuctionDataProvider) GetData ¶
func (p *CachedAuctionDataProvider) GetData(ctx context.Context, onlyAvailable bool) ([]dto.VehicleInfo, error)
type HTTPAuctionProvider ¶
type HTTPAuctionProvider struct {
// contains filtered or unexported fields
}
func NewHTTPActionProvider ¶
func NewHTTPActionProvider(url string) *HTTPAuctionProvider
func (*HTTPAuctionProvider) GetData ¶
func (p *HTTPAuctionProvider) GetData(_ context.Context, onlyAvailable bool) ([]dto.VehicleInfo, error)
Click to show internal directories.
Click to hide internal directories.