Documentation ¶
Index ¶
- type AssetDynamoRepository
- func (a *AssetDynamoRepository) Find(ctx context.Context, ticker valueobject.TickerSymbol) (*aggregate.Asset, error)
- func (a *AssetDynamoRepository) Remove(ctx context.Context, asset aggregate.Asset) error
- func (a *AssetDynamoRepository) Save(ctx context.Context, asset aggregate.Asset) error
- func (a *AssetDynamoRepository) Search(ctx context.Context) ([]*aggregate.Asset, error)
- func (a *AssetDynamoRepository) Update(ctx context.Context, asset aggregate.Asset) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetDynamoRepository ¶
type AssetDynamoRepository struct {
// contains filtered or unexported fields
}
func NewAssetDynamoRepository ¶
func NewAssetDynamoRepository(c *dynamodb.Client) *AssetDynamoRepository
func (*AssetDynamoRepository) Find ¶
func (a *AssetDynamoRepository) Find(ctx context.Context, ticker valueobject.TickerSymbol) (*aggregate.Asset, error)
Click to show internal directories.
Click to hide internal directories.