Documentation ¶
Index ¶
- type BaristaBoard
- type KitchenBoard
- type Menu
- type Order
- func (m *Order) Blur()
- func (m *Order) BlurField()
- func (m *Order) DecItemCount(item *api.MenuItem)
- func (m *Order) Focus() tea.Cmd
- func (m *Order) FocusField() tea.Cmd
- func (m *Order) IncItemCount(item *api.MenuItem)
- func (m Order) Init() tea.Cmd
- func (m *Order) Reset()
- func (m *Order) SetItemCount(item *api.MenuItem, count uint32)
- func (m Order) Update(msg tea.Msg) (Order, tea.Cmd)
- func (m Order) View() string
- type POS
- type StatusBar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaristaBoard ¶
type BaristaBoard struct {
// contains filtered or unexported fields
}
func (BaristaBoard) Init ¶
func (m BaristaBoard) Init() tea.Cmd
func (*BaristaBoard) NextOrder ¶
func (m *BaristaBoard) NextOrder()
func (*BaristaBoard) PreviousOrder ¶
func (m *BaristaBoard) PreviousOrder()
func (BaristaBoard) View ¶
func (m BaristaBoard) View() string
type KitchenBoard ¶
type KitchenBoard struct {
// contains filtered or unexported fields
}
func (KitchenBoard) Init ¶
func (m KitchenBoard) Init() tea.Cmd
func (*KitchenBoard) NextOrder ¶
func (m *KitchenBoard) NextOrder()
func (*KitchenBoard) PreviousOrder ¶
func (m *KitchenBoard) PreviousOrder()
func (KitchenBoard) View ¶
func (m KitchenBoard) View() string
type Order ¶
type Order struct {
// contains filtered or unexported fields
}
func (*Order) DecItemCount ¶
func (*Order) FocusField ¶
func (*Order) IncItemCount ¶
Click to show internal directories.
Click to hide internal directories.