Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PhotoStore ¶
type PhotoStore interface { NewPhoto(hash photo.PhotoHash, timeTaken time.Time, description string) (photo.Photo, error) GetPhotoByHash(pHash photo.PhotoHash) (photo.Photo, error) DeletePhoto(pHash photo.PhotoHash) error }
func NewPhotoStore ¶
func NewPhotoStore(db *sql.DB, fsRoot string) (pStore PhotoStore, err error)
Click to show internal directories.
Click to hide internal directories.