implemented get all shares

This commit is contained in:
2022-05-14 23:25:50 +02:00
parent f31f1bbf02
commit 508e109734
4 changed files with 37 additions and 0 deletions

View File

@@ -104,3 +104,7 @@ func (c *Client) GetObjectMetadata(ctx context.Context, key string) (*types.Meta
return metadata, nil
}
func (c *Client) GetAllShares(ctx context.Context) ([]*types.Share, error) {
return c.db.GetAllShares(ctx)
}