Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is used to store the most recent messages.
func NewStorage ¶
NewStorage is a constructor for creation of a new in-memory Storage. bufferSize determines the size of additional messages that can be put to the storage (the larger the buffer size, the less frequently the storage is flushed). maxSize specifies the maximum number of messages the storage can contain.
func (*Storage) Messages ¶
func (s *Storage) Messages(msgSeqNumFrom, msgSeqNumTo int) ([]simplefixgo.SendingMessage, error)
Messages returns a message list, in a sequential order (starting with msgSeqNumFrom and ending with msgSeqNumTo).
func (*Storage) Save ¶
func (s *Storage) Save(msg simplefixgo.SendingMessage, msgSeqNum int) error
Click to show internal directories.
Click to hide internal directories.