Documentation ¶
Overview ¶
Package productgrp maintains the group of handlers for product access.
Index ¶
- Variables
- type Handlers
- func (h Handlers) Create(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) Delete(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) Query(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) QueryByID(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) Update(ctx context.Context, w http.ResponseWriter, r *http.Request) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidID = errors.New("ID is not in its proper form")
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
Handlers manages the set of product endpoints.
Click to show internal directories.
Click to hide internal directories.