controllers

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddOrderLine

func AddOrderLine(w http.ResponseWriter, r *http.Request)

AddOrderLine creates a new AddOrderLine command (CQRS pattern)

func CreateOrder

func CreateOrder(w http.ResponseWriter, r *http.Request)

CreateOrder creates a new CreateOrder command (CQRS pattern)

func DeleteOrderLine

func DeleteOrderLine(w http.ResponseWriter, r *http.Request)

DeleteOrderLine creates a new DeleteOrderLine command

func GetOrder

func GetOrder(w http.ResponseWriter, r *http.Request)

GetOrder gets an order from ES database

func RenderHome

func RenderHome(w http.ResponseWriter, r *http.Request)

RenderHome renders home page

func UpdateOrder

func UpdateOrder(w http.ResponseWriter, r *http.Request)

UpdateOrder creates a new UpdateOrder command (CQRS pattern)

func UpdateOrderLineQuantity

func UpdateOrderLineQuantity(w http.ResponseWriter, r *http.Request)

UpdateOrderLineQuantity creates a new UpdateOrderLineQuantity command

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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