Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DB ¶
type DB struct {
DynamoDB dynamodbiface.DynamoDBAPI
}
DB wraps DynamodDB with iface pkg for easier testing
type Record ¶
type Record struct { SupplierRef string `json:"supplierRef"` Status string `json:"status"` Title string `json:"title"` Description string `json:"description"` Starts string `json:"startTime"` Ends string `json:"endTime"` Table string }
Record represents a change event
func (*Record) ParseHandler ¶
func (r *Record) ParseHandler(w http.ResponseWriter, req *http.Request)
ParseHandler receives a payload from JSD
func (*Record) ParseRequest ¶
ParseRequest gets some values from inbound paylpad
Click to show internal directories.
Click to hide internal directories.