Documentation ¶
Index ¶
- type DynamoDbClient
- func (c DynamoDbClient) CreateTable(input *dynamodb.CreateTableInput) error
- func (c DynamoDbClient) GetItemsInTable(table string) ([]map[string]types.AttributeValue, error)
- func (c DynamoDbClient) New(hostname string, port int) (DynamoDbClient, error)
- func (c DynamoDbClient) PutItem(input *dynamodb.PutItemInput) error
- func (c DynamoDbClient) PutObject(table string, object interface{}) error
- type IDynamoDbClient
- type ISqsClient
- type SqsClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoDbClient ¶ added in v0.3.2
type DynamoDbClient struct {
// contains filtered or unexported fields
}
func (DynamoDbClient) CreateTable ¶ added in v0.3.2
func (c DynamoDbClient) CreateTable(input *dynamodb.CreateTableInput) error
func (DynamoDbClient) GetItemsInTable ¶ added in v0.3.2
func (c DynamoDbClient) GetItemsInTable(table string) ([]map[string]types.AttributeValue, error)
func (DynamoDbClient) New ¶ added in v0.3.2
func (c DynamoDbClient) New(hostname string, port int) (DynamoDbClient, error)
func (DynamoDbClient) PutItem ¶ added in v0.3.3
func (c DynamoDbClient) PutItem(input *dynamodb.PutItemInput) error
func (DynamoDbClient) PutObject ¶ added in v0.3.3
func (c DynamoDbClient) PutObject(table string, object interface{}) error
type IDynamoDbClient ¶ added in v0.3.4
type IDynamoDbClient interface { Scan(ctx context.Context, params *dynamodb.ScanInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ScanOutput, error) CreateTable(ctx context.Context, params *dynamodb.CreateTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.CreateTableOutput, error) PutItem(ctx context.Context, params *dynamodb.PutItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.PutItemOutput, error) }
type ISqsClient ¶ added in v0.3.4
type ISqsClient interface { GetQueueUrl(ctx context.Context, params *sqs.GetQueueUrlInput, optFns ...func(*sqs.Options)) (*sqs.GetQueueUrlOutput, error) ReceiveMessage(ctx context.Context, params *sqs.ReceiveMessageInput, optFns ...func(*sqs.Options)) (*sqs.ReceiveMessageOutput, error) }
Click to show internal directories.
Click to hide internal directories.