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
}
func NewHandler ¶
func NewHandler(sr service.Repository) *Handler
func (*Handler) CreateOrder ¶
func (h *Handler) CreateOrder(w http.ResponseWriter, req *http.Request)
Create Order
func (*Handler) GetOrder ¶
func (h *Handler) GetOrder(w http.ResponseWriter, req *http.Request)
Get Order
func (*Handler) HealthEndpoint ¶
func (h *Handler) HealthEndpoint(w http.ResponseWriter, req *http.Request)
HealthEndpoint for srv status
Click to show internal directories.
Click to hide internal directories.