Documentation
¶
Index ¶
- type Codec
- type Schema
- type Storage
- func (db *Storage[T]) Get(ctx context.Context, key T) (T, error)
- func (db *Storage[T]) Match(ctx context.Context, key T) dynamo.Seq[T]
- func (db *Storage[T]) Put(ctx context.Context, entity T, config ...dynamo.Constraint[T]) error
- func (db *Storage[T]) Remove(ctx context.Context, key T, config ...dynamo.Constraint[T]) error
- func (db *Storage[T]) Update(ctx context.Context, entity T, config ...dynamo.Constraint[T]) (T, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage[T dynamo.Thing] struct { Service dynamo.S3 Bucket *string Codec *Codec[T] Schema *Schema[T] // contains filtered or unexported fields }
ds3 is a S3 client
Click to show internal directories.
Click to hide internal directories.