httpapi

package
v0.0.0-...-4bb76e4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 10 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(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)

Jump to

Keyboard shortcuts

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