Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderLog ¶
type OrderLog interface { Record(orderID interface{}) GetLast(index int) interface{} }
OrderLog represents the behavior of an order log regardless of impl.
func NewOrderLogRing ¶
NewOrderLogRing returns a new OrderLog based on a circular ring.
func NewOrderLogSlice ¶
NewOrderLogSlice returns a new OrderLog based on a slice.
Click to show internal directories.
Click to hide internal directories.