Documentation ¶
Index ¶
- type HttpAPI
- func (eh *HttpAPI) AddTaskHandler(w http.ResponseWriter, r *http.Request)
- func (eh *HttpAPI) FindTaskByOrderIdHandler(w http.ResponseWriter, r *http.Request)
- func (eh *HttpAPI) GetAllTasksHandler(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(baristaService service.BaristaService) *HttpAPI
func (*HttpAPI) AddTaskHandler ¶
func (eh *HttpAPI) AddTaskHandler(w http.ResponseWriter, r *http.Request)
func (*HttpAPI) FindTaskByOrderIdHandler ¶
func (eh *HttpAPI) FindTaskByOrderIdHandler(w http.ResponseWriter, r *http.Request)
func (*HttpAPI) GetAllTasksHandler ¶
func (eh *HttpAPI) GetAllTasksHandler(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.