Versions in this module Expand all Collapse all v0 v0.0.2 May 22, 2020 v0.0.1 May 22, 2020 Changes in this version + type CameraMock struct + Snapshots []domain.Snapshot + func (c *CameraMock) Get() (domain.Snapshot, error) + type JPEGCamera struct + func NewJPEGCamera(client *http.Client, url string) (JPEGCamera, error) + func (c JPEGCamera) Get() (domain.Snapshot, error) + type SnapshotsFileSystemRepository struct + func NewSnapshotsFileSystemRepository(rootDir string) (SnapshotsFileSystemRepository, error) + func (r SnapshotsFileSystemRepository) GetLatest() (domain.Snapshot, error) + func (r SnapshotsFileSystemRepository) Store(snapshot domain.Snapshot) (err error) + type SnapshotsInMemoryRepository struct + func (r *SnapshotsInMemoryRepository) GetLatest() (domain.Snapshot, error) + func (r *SnapshotsInMemoryRepository) Store(snapshot domain.Snapshot) error