Documentation ¶
Index ¶
- type GetStatus
- type IGetStatus
- type IRepository
- type IRequests
- type IUpdater
- type IUtils
- type ItemRepository
- type ItemStatus
- type ItemUtils
- type ManufacturerDetails
- type Overview
- type OverviewDetails
- type OverviewProperties
- type Preview
- type PreviewDetails
- type PreviewProperties
- type Requests
- type Status
- type Updater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IGetStatus ¶
type IGetStatus interface {
GetItem(itemId string) (ItemStatus, error)
}
type IRepository ¶
type ItemRepository ¶
func (ItemRepository) GetItemOverview ¶
func (r ItemRepository) GetItemOverview(itemId string) (overview Overview, err error)
func (ItemRepository) GetPreviewList ¶
type ItemStatus ¶
type ManufacturerDetails ¶
type Overview ¶
type Overview struct { Item_id string `json:"item_id"` Properties OverviewProperties `json:"properties"` Manufacturer ManufacturerDetails `json:"manufacturer"` }
type OverviewDetails ¶
type OverviewProperties ¶
type OverviewProperties struct { Name string `json:"name"` Price int `json:"price"` Details OverviewDetails `json:"details"` }
type Preview ¶
type Preview struct { Item_id string `json:"item_id"` Properties PreviewProperties `json:"properties"` }
type PreviewDetails ¶
type PreviewDetails struct {
Status Status `json:"status"`
}
type PreviewProperties ¶
type PreviewProperties struct { Name string `json:"name"` Price int `json:"price"` Details PreviewDetails `json:"details"` }
type Requests ¶
type Requests struct { ItemRepository IRepository ItemUtils IUtils }
Click to show internal directories.
Click to hide internal directories.