httpapi

package
v0.0.0-...-094503d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL