Documentation ¶
Overview ¶
Package memstore provides an implementation of history.Store with records stored in memory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*Store)
func WithMaxAge ¶
WithMaxAge is an option to set the maximum age of records in the store.
func WithMaxCount ¶
WithMaxCount is an option to set the maximum number of records in the store.
Click to show internal directories.
Click to hide internal directories.