Documentation
¶
Index ¶
Constants ¶
View Source
const ( TableName = "http_crud_backend" IDDynamoDBAttributename = "id" )
Variables ¶
View Source
var ErrHostnameExists = errors.New("hostname already exists")
View Source
var ErrURLNotFound = errors.New("url not found")
Functions ¶
func ClearAllRecords ¶
func ClearAllRecords() error
func DeleteRecord ¶
func SaveRecord ¶
func SaveRecord(inputStruc models.DynamoDBData) (string, error)
func UpdateRecord ¶
func UpdateRecord(id string, updateData models.DynamoDBData) error
updates an existing record in dynamodb
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.