Documentation ¶
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 ...
func (*Handler) CustomProductpclHandler ¶
func (h *Handler) CustomProductpclHandler(w http.ResponseWriter, r *http.Request)
productpclHandler will receive request and return response
func (*Handler) ProductpclHandler ¶
func (h *Handler) ProductpclHandler(w http.ResponseWriter, r *http.Request)
productpclHandler will receive request and return response
type IproductpclSvc ¶
type IproductpclSvc interface { GetDataProductByProcode(ctx context.Context, procode string) (mhProductEntity.MH_Product, error) CariProdukDgnBanyakKode(ctx context.Context, procode []string) ([]mhProductEntity.MH_Product, error) GetAllProduct(ctx context.Context, page int, length int) ([]mhProductEntity.MH_Product, interface{}, error) }
IproductpclSvc is an interface to productpcl Service Masukkan function dari service ke dalam interface ini
Click to show internal directories.
Click to hide internal directories.