Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LambdaHandler ¶
func LambdaHandler(j Journal) interface{}
LambdaHandler Creates a Lambda Handler
Types ¶
type DynamoDBStore ¶
DynamoDBStore DynamoDB implementation of Store
func (*DynamoDBStore) GetItem ¶
func (store *DynamoDBStore) GetItem(UUID string) (*Entry, error)
GetItem implementation of Store interface
func (*DynamoDBStore) GetItems ¶
func (store *DynamoDBStore) GetItems() (entries []*Entry, err error)
GetItems implementation for Store interface
func (*DynamoDBStore) PutItem ¶
func (store *DynamoDBStore) PutItem(en *Entry) error
PutItem implementation for Store interface
type Entry ¶
type Entry struct { UUID string `json:"UUID"` Title string `json:"title"` Text string `json:"text"` Sections []Section `json:"sections"` Public bool `json:"public"` CreatedDate time.Time }
Entry for journal
Click to show internal directories.
Click to hide internal directories.