Documentation ¶
Index ¶
- type HttpAPI
- func (eh *HttpAPI) AddCustomerHandler(w http.ResponseWriter, r *http.Request)
- func (eh *HttpAPI) AddOrderHandler(w http.ResponseWriter, r *http.Request)
- func (eh *HttpAPI) FindAllCustomersHandler(w http.ResponseWriter, r *http.Request)
- func (eh *HttpAPI) FindCustomerHandler(w http.ResponseWriter, r *http.Request)
- func (eh *HttpAPI) FindOrderHandler(w http.ResponseWriter, r *http.Request)
- func (eh *HttpAPI) GetAllOrdersHandler(w http.ResponseWriter, r *http.Request)
- func (eh *HttpAPI) HealthHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpAPI ¶
type HttpAPI struct {
// contains filtered or unexported fields
}
func NewHttpAPI ¶
func NewHttpAPI(receptionService service.ReceptionService) *HttpAPI
func (*HttpAPI) AddCustomerHandler ¶
func (eh *HttpAPI) AddCustomerHandler(w http.ResponseWriter, r *http.Request)
func (*HttpAPI) AddOrderHandler ¶
func (eh *HttpAPI) AddOrderHandler(w http.ResponseWriter, r *http.Request)
func (*HttpAPI) FindAllCustomersHandler ¶
func (eh *HttpAPI) FindAllCustomersHandler(w http.ResponseWriter, r *http.Request)
func (*HttpAPI) FindCustomerHandler ¶
func (eh *HttpAPI) FindCustomerHandler(w http.ResponseWriter, r *http.Request)
func (*HttpAPI) FindOrderHandler ¶
func (eh *HttpAPI) FindOrderHandler(w http.ResponseWriter, r *http.Request)
func (*HttpAPI) GetAllOrdersHandler ¶
func (eh *HttpAPI) GetAllOrdersHandler(w http.ResponseWriter, r *http.Request)
func (*HttpAPI) HealthHandler ¶
func (eh *HttpAPI) HealthHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.