Documentation ¶
Index ¶
- Constants
- type CharacterKey
- type DynamoDbClientWrapper
- func (c *DynamoDbClientWrapper) BatchDeleteWrapper(tableName string, keys []map[string]string) (*dynamodb.BatchWriteItemOutput, error)
- func (c *DynamoDbClientWrapper) DeleteWrapper(tableName string, key interface{}) (*dynamodb.DeleteItemOutput, error)
- func (c *DynamoDbClientWrapper) GetWrapper(tableName string, key interface{}, resultItem interface{}) (*dynamodb.GetItemOutput, error)
- func (c *DynamoDbClientWrapper) PutWrapper(tableName string, item interface{}, conditionExp *string) (*dynamodb.PutItemOutput, error)
- func (c *DynamoDbClientWrapper) QueryWithExpressionWrapper(tableName string, expr expression.Expression, resultArr interface{}) ([]map[string]types.AttributeValue, error)
- func (c *DynamoDbClientWrapper) QueryWrapper(tableName string, keyCondition expression.KeyConditionBuilder, ...) (interface{}, error)
- func (c *DynamoDbClientWrapper) UpdateWrapper(tableName string, key interface{}, update expression.UpdateBuilder) (*dynamodb.UpdateItemOutput, error)
- type S3ClientWrapper
Constants ¶
View Source
const PrimaryBucketName = "rpg-vault-go"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CharacterKey ¶
type DynamoDbClientWrapper ¶
func GetDynamodbClient ¶
func GetDynamodbClient(awsKey, awsSecret, awsRegion string) *DynamoDbClientWrapper
func (*DynamoDbClientWrapper) BatchDeleteWrapper ¶
func (c *DynamoDbClientWrapper) BatchDeleteWrapper(tableName string, keys []map[string]string) (*dynamodb.BatchWriteItemOutput, error)
func (*DynamoDbClientWrapper) DeleteWrapper ¶
func (c *DynamoDbClientWrapper) DeleteWrapper(tableName string, key interface{}) (*dynamodb.DeleteItemOutput, error)
func (*DynamoDbClientWrapper) GetWrapper ¶
func (c *DynamoDbClientWrapper) GetWrapper(tableName string, key interface{}, resultItem interface{}) (*dynamodb.GetItemOutput, error)
func (*DynamoDbClientWrapper) PutWrapper ¶
func (c *DynamoDbClientWrapper) PutWrapper(tableName string, item interface{}, conditionExp *string) (*dynamodb.PutItemOutput, error)
func (*DynamoDbClientWrapper) QueryWithExpressionWrapper ¶
func (c *DynamoDbClientWrapper) QueryWithExpressionWrapper(tableName string, expr expression.Expression, resultArr interface{}) ([]map[string]types.AttributeValue, error)
func (*DynamoDbClientWrapper) QueryWrapper ¶
func (c *DynamoDbClientWrapper) QueryWrapper(tableName string, keyCondition expression.KeyConditionBuilder, resultArr interface{}) (interface{}, error)
func (*DynamoDbClientWrapper) UpdateWrapper ¶
func (c *DynamoDbClientWrapper) UpdateWrapper(tableName string, key interface{}, update expression.UpdateBuilder) (*dynamodb.UpdateItemOutput, error)
type S3ClientWrapper ¶
func GetS3Client ¶
func GetS3Client(awsKey, awsSecret, awsRegion string) *S3ClientWrapper
func (*S3ClientWrapper) Delete ¶
func (c *S3ClientWrapper) Delete(path string)
func (*S3ClientWrapper) Read ¶
func (c *S3ClientWrapper) Read(path string) []byte
Click to show internal directories.
Click to hide internal directories.