Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltPersistenceLayer ¶
func NewBoltPersistenceLayer ¶
func NewBoltPersistenceLayer(config BoltPersistenceLayerConfig) (*BoltPersistenceLayer, error)
func (*BoltPersistenceLayer) LoadFacts ¶
func (persistenceLayer *BoltPersistenceLayer) LoadFacts(ticker sec.Ticker) (*sec.CompanyFacts, error)
func (*BoltPersistenceLayer) SaveFacts ¶
func (persistenceLayer *BoltPersistenceLayer) SaveFacts(ticker sec.Ticker, facts *sec.CompanyFacts) error
type BoltPersistenceLayerConfig ¶ added in v0.4.0
type PersistedCompanyFacts ¶
type PersistedCompanyFacts struct { Timestamp int64 Facts sec.CompanyFacts }
PersistedCompanyFacts A representation of company facts with appended Timestamp
Click to show internal directories.
Click to hide internal directories.