func NewStorage
NewStorage creates a new Storage with the given maximum number of values. If maxValues is 0, the storage is bounded to a size of one. If this is not desirable, then don't provide a value of 0.
NewStorage creates a new Storage with the given maximum number of values. If maxValues is 0, the storage is bounded to a size of one. If this is not desirable, then don't provide a value of 0.
Storage is simple, bounded storage for published feed values.
GetHistory returns all values in the storage, from oldest to newest.
GetLatest returns the most recently added value, or an empty value if none exist.
Put adds a new value to the storage. If the storage is full, the oldest value is removed. If maxValues is 0, the storage is bounded to a size of one.