Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Result ¶
type Result struct { Name string `dynamodbav:"name"` URL string `dynamodbav:"url"` Body string `dynamodbav:"body"` Status int `dynamodbav:"status"` Description string `dynamodbav:"description"` ChangeDescription string `dynamodbav:"change_description"` LastNotificationTime time.Time `dynamodbav:"last_notification_time"` LastCheckTime time.Time `dynamodbav:"last_check_time"` ResponseTime string `dynamodbav:"response_time"` LastSuccessTime time.Time `dynamodbav:"last_successful_check_time"` LastFailureTime time.Time `dynamodbav:"last_failure_time"` SuccessCount int `dynamodbav:"success_count"` FailureCount int `dynamodbav:"failure_count"` }
type TableBasics ¶
TableBasics encapsulates the Amazon DynamoDB service actions used in the examples. It contains a DynamoDB service client that is used to act on the specified table.
func (TableBasics) CreateTable ¶
func (basics TableBasics) CreateTable() (*types.TableDescription, error)
func (TableBasics) PutItem ¶
func (basics TableBasics) PutItem(r Result) error
func (TableBasics) TableExists ¶
func (basics TableBasics) TableExists() (bool, error)
TableExists determines whether a DynamoDB table exists.
Click to show internal directories.
Click to hide internal directories.