package
0.0.13
Repository: https://github.com/nutrixpos/pos.git
Documentation: pkg.go.dev

# Structs

Category represents the category of products.
No description provided by the author
No description provided by the author
ItemCost represents the cost of an item, including the recipe cost, sale price, quantity, and the costs of the components.
LanguageData is used to store the language mentioned details, stored in the language json file.
No description provided by the author
Material represents a material with its details, including entries and settings.
MaterialEntry represents an entry of material, detailing purchase and quantity information.
MaterialSettings represents settings associated with a material, such as stock alert threshold.
Order represents a customer order, containing order details, items, and financial information.
OrderItem represents an item in an order, including product details, materials, and pricing.
OrderItemMaterial represents the material, entry, and quantity associated with an order item.
OrderQueueSettings represents the configuration settings for an order queue.
OrderSettings represents the configuration settings for orders.
No description provided by the author
Product represents a product with its details, including materials, entries, and pricing.
ProductEntry represents an entry of a product, detailing purchase and quantity information.
SalesLogs represents logs of sales, capturing sale price, items, and consumption details.
SalesPerDay aggregates sales data for a specific day, including total costs and sales.
SalesPerDayOrder represents an order and its associated costs for a specific day.
Settings represents the configuration settings structure.
No description provided by the author
Topic represents a group of subscribers for a specific topic.
WebsocketClientBaseMessage is a base message for all client messages.
WebsocketOrderFinishClientMessage is a message sent by the client to finish an order.
WebsocketOrderFinishServerMessage is a message sent by the server to finish an order.
No description provided by the author
WebsocketSubscribeClientMessage is a message sent by the client to subscribe to a specific topic.
WebsocketTopicClientMessage is a message sent by the client to send a message to a specific topic.
WebsocketTopicServerMessage is a message sent by the server to a specific topic.

# Type aliases

JSONFloat is a float64 that is marshaled to JSON as a string to avoid the JSON number type limitations.