memstore

package
v0.0.0-...-f2cd14d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2016 License: GPL-3.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

View Source
const StoreType = "memstore"

Variables

This section is empty.

Functions

func Copy

func Copy(toValue interface{}, fromValue interface{}) (err error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL