api

package
v0.0.0-...-fa5e95f Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Router

func Router(c client.Client) *mux.Router

Types

type BaristaOrder

type BaristaOrder struct {
	ID   string
	Name string
	Open bool

	Items []BaristaOrderItem
}

type BaristaOrderItem

type BaristaOrderItem struct {
	Name   string
	Status string
}

type KitchenOrder

type KitchenOrder struct {
	ID   string
	Name string
	Open bool

	Items []KitchenOrderItem
}

type KitchenOrderItem

type KitchenOrderItem struct {
	Name   string
	Status string
}
type Menu struct {
	Items []MenuItem
}
type MenuItem struct {
	Type  string
	Name  string
	Price uint32
}

type Order

type Order struct {
	Name  string
	Email string

	Items []OrderItem
}

type OrderItem

type OrderItem struct {
	Type  string
	Name  string
	Price uint32
	Count uint32
}

Jump to

Keyboard shortcuts

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