Back to

Package httpapi

Latest Go to latest

The latest major version is .

Published: May 4, 2020 | License: MIT | Module:


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)

Package Files

  • http.go
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier