Documentation
¶
Index ¶
- type Item
- type Metadata
- type Table
- func (t *Table) GetMetadata(id string) (*Metadata, error)
- func (t *Table) ListItems(max int64, scanKey dynamo.PagingKey) (*[]Item, dynamo.PagingKey, error)
- func (t *Table) ListThumbnails(max int64, scanKey dynamo.PagingKey, isPrivate bool) (*[]Thumbnail, dynamo.PagingKey, error)
- func (t *Table) PutMetadata(meta *Metadata) error
- type Thumbnail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct {
Id string `json:"id"`
Timestamp int64 `json:"timestamp"`
Title string `json:"title"`
Camera string `json:"camera"`
Lens string `json:"lens"`
Exposure float64 `json:"exposure"`
F float64 `json:"f"`
FocalLength int `json:"focal_length"`
ISO int `json:"iso"`
SS string `json:"shutter_speed"`
Width int32 `json:"width"`
Height int32 `json:"height"`
IsPrivate string `json:"is_private" dynamo:"IsPrivate"`
}
Click to show internal directories.
Click to hide internal directories.