Documentation
¶
Overview ¶
Package product : Product service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler : Product handler
func NewHandler ¶
func NewHandler(store types.ProductStore) *Handler
NewHandler creates a new product handler
func (*Handler) RegisterRoutes ¶
RegisterRoutes registers product routes
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store : Product store
func (*Store) GetProducts ¶
GetProducts : Get all products
func (*Store) GetProductsByID ¶
GetProductsByID : Get products by ID
Click to show internal directories.
Click to hide internal directories.