Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomerMessengerInput ¶
type CustomerMessengerInput interface {
ListenChat()
}
CustomerMessengerInput use messenger contract
type OrderMessageInput ¶
type OrderMessageInput interface {
OrderMessage(phone, orderLink, description string)
}
OrderMessageInput delivery order link to messenger contract
type PlaceOrderInput ¶
type PlaceOrderInput interface {
PlaceOrder(request PlaceOrderRequest, output PlaceOrderOutput)
}
PlaceOrderInput upload contract
type PlaceOrderOutput ¶
type PlaceOrderOutput interface {
OnResponse(phone, orderLink, description string)
}
PlaceOrderOutput upload response contract
type PlaceOrderRequest ¶
type PlaceOrderRequest struct { Filename string Dir string Phone string Private bool MD5 []byte CustomerID int CategoryID int Description string }
PlaceOrderRequest data structure
func (PlaceOrderRequest) GetFullFileName ¶
func (r PlaceOrderRequest) GetFullFileName() string
GetFullFileName Dir/Filename
type PurgeOrdersInput ¶
type PurgeOrdersInput interface {
PurgeOrders()
}
PurgeOrdersInput delete order from database if expired
type TakeOrderInput ¶
type TakeOrderInput interface {
TakeOrder(request TakeOrderRequest, output TakeOrderOutput)
}
TakeOrderInput download contract
type TakeOrderOutput ¶
TakeOrderOutput download response contract
type TakeOrderRequest ¶
type TakeOrderRequest struct {
Link string
}
TakeOrderRequest data structure
Click to show internal directories.
Click to hide internal directories.