Documentation ¶
Index ¶
- type DynamodbClientAPI
- type DynamodbComplexPrimaryKey
- type DynamodbSimplePrimaryKey
- type ErrorResponse
- type LambdaContext
- func (ctx LambdaContext) Deadline() (deadline time.Time, ok bool)
- func (ctx LambdaContext) Done() <-chan struct{}
- func (ctx LambdaContext) Err() error
- func (ctx *LambdaContext) Exists(key string) bool
- func (ctx *LambdaContext) Get(key string) (interface{}, bool)
- func (ctx *LambdaContext) Set(key string, value interface{})
- func (ctx LambdaContext) Value(key interface{}) interface{}
- type RedisEntity
- type ValidatedRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamodbClientAPI ¶
type DynamodbClientAPI interface { PutItem(ctx context.Context, params *dynamodb.PutItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.PutItemOutput, error) GetItem(ctx context.Context, params *dynamodb.GetItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.GetItemOutput, error) TransactGetItems(ctx context.Context, params *dynamodb.TransactGetItemsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.TransactGetItemsOutput, error) TransactWriteItems(ctx context.Context, params *dynamodb.TransactWriteItemsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.TransactWriteItemsOutput, error) }
type DynamodbComplexPrimaryKey ¶
type DynamodbComplexPrimaryKey struct { PartitionKey DynamodbSimplePrimaryKey SortKey DynamodbSimplePrimaryKey }
type DynamodbSimplePrimaryKey ¶
type DynamodbSimplePrimaryKey struct { KeyName string Value interface{} }
type ErrorResponse ¶
type ErrorResponse struct {
Message string `json:"message"`
}
type LambdaContext ¶
type LambdaContext struct {
// contains filtered or unexported fields
}
func NewLambdaContext ¶
func NewLambdaContext() LambdaContext
func (LambdaContext) Done ¶
func (ctx LambdaContext) Done() <-chan struct{}
func (LambdaContext) Err ¶
func (ctx LambdaContext) Err() error
func (*LambdaContext) Exists ¶
func (ctx *LambdaContext) Exists(key string) bool
func (*LambdaContext) Get ¶
func (ctx *LambdaContext) Get(key string) (interface{}, bool)
func (*LambdaContext) Set ¶
func (ctx *LambdaContext) Set(key string, value interface{})
func (LambdaContext) Value ¶
func (ctx LambdaContext) Value(key interface{}) interface{}
type RedisEntity ¶
type ValidatedRequest ¶
type ValidatedRequest interface {
Validate() common_errors.GenericApplicationError
}
Click to show internal directories.
Click to hide internal directories.