Documentation ¶
Index ¶
- type Client
- func (client *Client) CreateTable(name string) (string, error)
- func (client *Client) DeleteItem(table string, id int) error
- func (client *Client) DeleteTable(name string) error
- func (client *Client) GetItem(table string, id int) (string, error)
- func (client *Client) ListTables(startTable string) (*dynamodb.ListTablesOutput, error)
- func (client *Client) PutItem(table string, item *Item) error
- func (client *Client) Scan(table string, lastEvaluatedKey int, createdAt string) (*dynamodb.ScanOutput, error)
- func (client *Client) UpdateItem(table string, item *Item) error
- type IClient
- type Item
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteTable ¶
func (*Client) ListTables ¶
func (client *Client) ListTables(startTable string) (*dynamodb.ListTablesOutput, error)
type IClient ¶
type IClient interface { CreateTable(name string) (string, error) PutItem(table string, item *Item) error UpdateItem(table string, item *Item) error DeleteItem(table string, id int) error GetItem(table string, id int) (string, error) DeleteTable(name string) error ListTables(startTable string) (*dynamodb.ListTablesOutput, error) Scan(table string, lastEvaluatedKey int, createdAt string) (*dynamodb.ScanOutput, error) }
Click to show internal directories.
Click to hide internal directories.