Documentation ¶
Index ¶
- Constants
- func BaseInfo(orderhash common.Hash) (*types.OrderState, error)
- func DelPendingOrder(owner common.Address, orderhash common.Hash) error
- func ExistPendingOrder(owner common.Address, orderhash common.Hash) bool
- func GetPendingOrders(owner common.Address) []common.Hash
- func Initialize(db *dao.RdsService)
- func Invalid() bool
- func SetPendingOrder(owner common.Address, orderhash common.Hash) error
Constants ¶
View Source
const ( OrderPrefix = "om_order_" OrderTtl = 120 // todo modify it to 86400 )
View Source
const (
UserPendingOrderKeyPrefix = "om_pending_ordertx_"
)
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize(db *dao.RdsService)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.