Documentation
¶
Overview ¶
Package vproductapp maintains the app layer api for the vproduct domain.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Log *logger.Logger UserBus *userbus.Business VProductBus *vproductbus.Business AuthClient *authclient.Client }
Config contains all the mandatory systems required by handlers.
type Product ¶
type Product struct { ID string `json:"id"` UserID string `json:"userID"` Name string `json:"name"` Cost float64 `json:"cost"` Quantity int `json:"quantity"` DateCreated string `json:"dateCreated"` DateUpdated string `json:"dateUpdated"` UserName string `json:"userName"` }
Product represents information about an individual product with extended information.
Click to show internal directories.
Click to hide internal directories.