Documentation ¶
Index ¶
- Constants
- func Copy(toValue interface{}, fromValue interface{}) (err error)
- type OrderStore
- func (store *OrderStore) Close()
- func (store *OrderStore) ExecutionCreate(er *proto.Execution) error
- func (store *OrderStore) OrderCreate(order *proto.Order) error
- func (store *OrderStore) OrderGet(orderId int32) (*proto.Order, error)
- func (store *OrderStore) OrderGetByOrderKey(orderKey int32) (*proto.Order, error)
Constants ¶
View Source
const StoreType = "memstore"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OrderStore ¶
type OrderStore struct {
// contains filtered or unexported fields
}
func (*OrderStore) Close ¶
func (store *OrderStore) Close()
func (*OrderStore) ExecutionCreate ¶
func (store *OrderStore) ExecutionCreate(er *proto.Execution) error
Create an Execution from entity
func (*OrderStore) OrderCreate ¶
func (store *OrderStore) OrderCreate(order *proto.Order) error
Save order as new entry
func (*OrderStore) OrderGet ¶
func (store *OrderStore) OrderGet(orderId int32) (*proto.Order, error)
Returns an order for OrderId
func (*OrderStore) OrderGetByOrderKey ¶
func (store *OrderStore) OrderGetByOrderKey(orderKey int32) (*proto.Order, error)
Returns an order for OrderId
Click to show internal directories.
Click to hide internal directories.