Documentation ¶
Index ¶
- Constants
- type DB
- func (m DB) DeleteItemWithContext(ctx context.Context, input *dynamodb.DeleteItemInput, ...) (*dynamodb.DeleteItemOutput, error)
- func (m DB) GetItemWithContext(ctx context.Context, input *dynamodb.GetItemInput, options ...request.Option) (*dynamodb.GetItemOutput, error)
- func (m DB) PutItemWithContext(ctx context.Context, input *dynamodb.PutItemInput, options ...request.Option) (*dynamodb.PutItemOutput, error)
Constants ¶
View Source
const (
MockTableName = "profiles"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct { dynamodbiface.DynamoDBAPI PutItemOutputToReturn *dynamodb.PutItemOutput PutItemErrorToReturn error GetItemOutputToReturn *dynamodb.GetItemOutput GetItemReturnObject interface{} GetItemErrorToReturn error DeleteItemOutputToReturn *dynamodb.DeleteItemOutput DeleteItemErrorToReturn error }
func (DB) DeleteItemWithContext ¶
func (m DB) DeleteItemWithContext(ctx context.Context, input *dynamodb.DeleteItemInput, options ...request.Option) (*dynamodb.DeleteItemOutput, error)
func (DB) GetItemWithContext ¶
func (m DB) GetItemWithContext(ctx context.Context, input *dynamodb.GetItemInput, options ...request.Option) (*dynamodb.GetItemOutput, error)
func (DB) PutItemWithContext ¶
func (m DB) PutItemWithContext(ctx context.Context, input *dynamodb.PutItemInput, options ...request.Option) (*dynamodb.PutItemOutput, error)
Click to show internal directories.
Click to hide internal directories.