Documentation
¶
Overview ¶
Package fixture owns bounded, expiring synthetic test data. It has no access to platform credentials, other servers, the filesystem, or external services.
Index ¶
- Constants
- Variables
- type Record
- type RunInfo
- type Stats
- type Store
- func (s *Store) Close(id string) (bool, error)
- func (s *Store) Delete(id, key string, expected *uint64) (bool, error)
- func (s *Store) Get(id, key string) (Record, error)
- func (s *Store) Inspect() Stats
- func (s *Store) Open(label string, ttl time.Duration) (RunInfo, error)
- func (s *Store) Put(id, key, value string, expected *uint64) (Record, error)
Constants ¶
View Source
const ( MaxRuns = 128 MaxRecords = 64 MaxValueBytes = 4096 DefaultTTL = 15 * time.Minute MaxTTL = time.Hour )
Variables ¶
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.